Linux Reference12.1.2 Debug SSH |
20.02.2008 |
| ← 12.1.1 Stunnel | [ up ] - [ top ] - [ linux a-z ] | 13 Distributions → |
debug ssh:
/etc/rc.d/init.d/sshd stop /usr/sbin/sshd -dssh -l user localhost.localdomainssh daemon activites for a password-less scp:
Connection from 212.35.36.204 port 47059 debug1: Client protocol version 2.0; client software version OpenSSH_2.9p2 debug1: match: OpenSSH_2.9p2 pat OpenSSH* Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-1.99-OpenSSH_3.1p1 debug1: list_hostkey_types: ssh-rsa,ssh-dss debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: client->server aes128-cbc hmac-md5 none debug1: kex: server->client aes128-cbc hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST received debug1: SSH2_MSG_KEX_DH_GEX_GROUP sent debug1: dh_gen_key: priv key bits set: 120/256 debug1: bits set: 1585/3191 debug1: expecting SSH2_MSG_KEX_DH_GEX_INIT debug1: bits set: 1582/3191 debug1: SSH2_MSG_KEX_DH_GEX_REPLY sent debug1: kex_derive_keys debug1: newkeys: mode 1 debug1: SSH2_MSG_NEWKEYS sent debug1: waiting for SSH2_MSG_NEWKEYS debug1: newkeys: mode 0 debug1: SSH2_MSG_NEWKEYS received debug1: KEX done debug1: userauth-request for user p356d service ssh-connection method none debug1: attempt 0 failures 0 debug1: Starting up PAM with username "p356d" debug1: PAM setting rhost to "dubb04h10-0.dplanet.ch" Failed none for p356d from 212.35.36.204 port 47059 ssh2 debug1: userauth-request for user p356d service ssh-connection method publickey debug1: attempt 1 failures 1 debug1: test whether pkalg/pkblob are acceptable debug1: temporarily_use_uid: 502/502 (e=0) debug1: trying public key file /home/p356d/.ssh/authorized_keys debug1: restore_uid debug1: temporarily_use_uid: 502/502 (e=0) debug1: trying public key file /home/p356d/.ssh/authorized_keys2 debug1: matching key found: file /home/p356d/.ssh/authorized_keys2, line 1 Found matching DSA key: 14:55:3c:33:e1:50:89:75:24:e6:7c:df:23:9d:a0:07 debug1: restore_uid Postponed publickey for p356d from 212.35.36.204 port 47059 ssh2 debug1: userauth-request for user p356d service ssh-connection method publickey debug1: attempt 2 failures 1 debug1: temporarily_use_uid: 502/502 (e=0) debug1: trying public key file /home/p356d/.ssh/authorized_keys debug1: restore_uid debug1: temporarily_use_uid: 502/502 (e=0) debug1: trying public key file /home/p356d/.ssh/authorized_keys2 debug1: matching key found: file /home/p356d/.ssh/authorized_keys2, line 1 Found matching DSA key: 14:55:3c:33:e1:50:89:75:24:e6:7c:df:23:9d:a0:07 debug1: restore_uid debug1: ssh_dss_verify: signature correct Accepted publickey for p356d from 212.35.36.204 port 47059 ssh2 debug1: Entering interactive session for SSH2. debug1: fd 3 setting O_NONBLOCK debug1: fd 7 setting O_NONBLOCK debug1: server_init_dispatch_20 debug1: server_input_channel_open: ctype session rchan 0 win 65536 max 32768 debug1: input_session_request debug1: channel 0: new [server-session] debug1: session_new: init debug1: session_new: session 0 debug1: session_open: channel 0 debug1: session_open: session 0: link with channel 0 debug1: server_input_channel_open: confirm session debug1: server_input_channel_req: channel 0 request exec reply 0 debug1: session_by_channel: session 0 channel 0 debug1: session_input_channel_req: session 0 req exec debug1: PAM establishing creds debug1: fd 9 setting O_NONBLOCK debug1: fd 11 setting O_NONBLOCK debug1: channel 0: rcvd eof debug1: channel 0: output open -> drain debug1: channel 0: obuf empty debug1: channel 0: close_write debug1: Received SIGCHLD. debug1: channel 0: output drain -> closed debug1: session_by_pid: pid 13627 debug1: session_exit_message: session 0 channel 0 pid 13627 debug1: channel request 0: exit-status debug1: session_exit_message: release channel 0 debug1: session_close: session 0 pid 13627 debug1: channel 0: read<=0 rfd 9 len 0 debug1: channel 0: read failed debug1: channel 0: close_read debug1: channel 0: input open -> drain debug1: channel 0: ibuf empty debug1: channel 0: send eof debug1: channel 0: input drain -> closed debug1: channel 0: send close debug1: channel 0: rcvd close debug1: channel 0: is dead debug1: channel 0: garbage collecting debug1: channel_free: channel 0: server-session, nchannels 1 Connection closed by remote host. Closing connection to 212.35.36.204
copyright by retoh - created with mytexi