如图,这个debug信息是怎么调出来的?
如图,它输入ssh去连另一台linux,它就会打印出连接的debug信息。
调试信息:
01.zhouhh@zhhofs:~$ ssh -v 192.168.12.16
02.OpenSSH_5.1p1 Debian-6ubuntu2, OpenSSL 0.9.8g 19 Oct 2007
03.debug1: Reading configuration data /etc/ssh/ssh_config
04.debug1: Applying options for *
05.debug1: Connecting to 192.168.12.16 [192.168.12.16] port 22.
06.debug1: Connection established.
07.debug1: identity file /home/zhouhh/.ssh/identity type -1
08.debug1: identity file /home/zhouhh/.ssh/id_rsa type -1
09.debug1: identity file /home/zhouhh/.ssh/id_dsa type -1
10.debug1: Remote protocol version 2.0, remote software version OpenSSH_4.3
11.debug1: match: OpenSSH_4.3 pat OpenSSH_4*
12.debug1: Enabling compatibility mode for protocol 2.0
13.debug1: Local version string SSH-2.0-OpenSSH_5.1p1 Debian-6ubuntu2
14.debug1: SSH2_MSG_KEXINIT sent
15.debug1: SSH2_MSG_KEXINIT received
16.debug1: kex: server->client aes128-cbc hmac-md5 none
17.debug1: kex: client->server aes128-cbc hmac-md5 none
18.debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
19.debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
20.debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
21.debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
22.debug1: Host '192.168.12.16' is known and matches the RSA host key.
23.debug1: Found key in /home/zhouhh/.ssh/known_hosts:1
24.debug1: ssh_rsa_verify: signature correct
25.debug1: SSH2_MSG_NEWKEYS sent
26.debug1: expecting SSH2_MSG_NEWKEYS
27.debug1: SSH2_MSG_NEWKEYS received
28.debug1: SSH2_MSG_SERVICE_REQUEST sent
29.debug1: SSH2_MSG_SERVICE_ACCEPT received
30.debug1: Authentications that can continue: publickey,gssapi-with-mic,password
31.debug1: Next authentication method: gssapi-with-mic
32.debug1: An invalid name was supplied
33.Cannot determine realm for numeric host address
34.debug1: An invalid name was supplied