>ws@box$ ssh -v test@192.168.1.10
>OpenSSH_3.8.1p1 FreeBSD-20040419, OpenSSL 0.9.7e 25 Oct 2004
>debug1: Reading configuration data /etc/ssh/ssh_config
>debug1: Connecting to 192.168.1.10 [192.168.1.10] port 22.
>debug1: Connection established.
>debug1: identity file /ws/.ssh/identity type -1
>debug1: identity file /ws/.ssh/id_rsa type -1
>debug1: identity file /ws/.ssh/id_dsa type 2
>debug1: Remote protocol version 2.0, remote software version Sun_SSH_1.0.1
>debug1: match: Sun_SSH_1.0.1 pat Sun_SSH_1.0*
>debug1: Enabling compatibility mode for protocol 2.0Sun_SSH_1.0.1 - ХЗ, я из сановских пакетов SSH не ставлю.
>debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1 FreeBSD-20040419
>debug1: SSH2_MSG_KEXINIT sent
>debug1: SSH2_MSG_KEXINIT received
>debug1: kex: server->client aes128-cbc hmac-md5 none
>debug1: kex: client->server aes128-cbc hmac-md5 none
>debug1: sending SSH2_MSG_KEXDH_INIT
>debug1: expecting SSH2_MSG_KEXDH_REPLY
>debug1: Host '192.168.1.10' is known and matches the DSA host key.
>debug1: Found key in /ws/.ssh/known_hosts:1
>debug1: ssh_dss_verify: signature correct
>debug1: SSH2_MSG_NEWKEYS sent
>debug1: expecting SSH2_MSG_NEWKEYS
>debug1: SSH2_MSG_NEWKEYS received
>debug1: SSH2_MSG_SERVICE_REQUEST sent
>debug1: SSH2_MSG_SERVICE_ACCEPT received
>debug1: Authentications that can continue: publickey,password
>debug1: Next authentication method: publickey
>debug1: Trying private key: /ws/.ssh/identity
>debug1: Trying private key: /ws/.ssh/id_rsa
>debug1: Offering public key: /ws/.ssh/id_dsa
>debug1: Authentications that can continue: publickey,password
>debug1: Next authentication method: password
>test@192.168.1.10's password:
>debug1: Authentication succeeded (password).
>debug1: channel 0: new [client-session]
>debug1: Entering interactive session.
>debug1: Requesting X11 forwarding with authentication spoofing.
>Last login: Tue Oct 11 12:06:42 2005 from 192.168.1.66
>debug1: channel 0: free: client-session, nchannels 1
>Connection to 192.168.1.10 closed by remote host.
>Connection to 192.168.1.10 closed.
>debug1: Transferred: stdin 0, stdout 0, stderr 87 bytes in 0.1 seconds
>
>debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 955.5
>debug1: Exit status -1
смотри sshd_config в Solaris и man ssh/sshd чтобы увидеть ЧТО за
реализация. Ну и формат ключей.
С FreeBSD:
# ssh -1 -v solaris