[Bug 2190] Nagios command check_ssh

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Sat Dec 21 22:22:14 EST 2013


https://bugzilla.mindrot.org/show_bug.cgi?id=2190

--- Comment #6 from Kiril Varnakov <kiril at varnakov.net> ---
Server side:

root at ns1:/home/kvarnakov # /usr/local/sbin/sshd -ddd
debug2: load_server_config: filename /usr/local/etc/ssh/sshd_config
debug2: load_server_config: done config len = 1235
debug2: parse_server_config: config /usr/local/etc/ssh/sshd_config len
1235
debug3: /usr/local/etc/ssh/sshd_config:13 setting Port 22
debug3: /usr/local/etc/ssh/sshd_config:16 setting ListenAddress 1.1.1.1
debug3: /usr/local/etc/ssh/sshd_config:21 setting Protocol 2
debug3: /usr/local/etc/ssh/sshd_config:26 setting HostKey
/usr/local/etc/ssh/ssh_host_rsa_key
debug3: /usr/local/etc/ssh/sshd_config:27 setting HostKey
/usr/local/etc/ssh/ssh_host_dsa_key
debug3: /usr/local/etc/ssh/sshd_config:30 setting
KeyRegenerationInterval 1h
debug3: /usr/local/etc/ssh/sshd_config:31 setting ServerKeyBits 1024
debug3: /usr/local/etc/ssh/sshd_config:35 setting SyslogFacility AUTH
debug3: /usr/local/etc/ssh/sshd_config:36 setting LogLevel debug3
debug3: /usr/local/etc/ssh/sshd_config:40 setting LoginGraceTime 1m
debug3: /usr/local/etc/ssh/sshd_config:41 setting PermitRootLogin no
debug3: /usr/local/etc/ssh/sshd_config:42 setting StrictModes yes
debug3: /usr/local/etc/ssh/sshd_config:43 setting MaxAuthTries 3
debug3: /usr/local/etc/ssh/sshd_config:44 setting MaxSessions 10
debug3: /usr/local/etc/ssh/sshd_config:46 setting RSAAuthentication no
debug3: /usr/local/etc/ssh/sshd_config:47 setting PubkeyAuthentication
yes
debug3: /usr/local/etc/ssh/sshd_config:48 setting AuthorizedKeysFile
.ssh/authorized_keys
debug3: /usr/local/etc/ssh/sshd_config:51 setting
RhostsRSAAuthentication no
debug3: /usr/local/etc/ssh/sshd_config:53 setting
HostbasedAuthentication no
debug3: /usr/local/etc/ssh/sshd_config:61 setting
PasswordAuthentication no
debug3: /usr/local/etc/ssh/sshd_config:62 setting PermitEmptyPasswords
no
debug3: /usr/local/etc/ssh/sshd_config:65 setting
ChallengeResponseAuthentication yes
debug3: /usr/local/etc/ssh/sshd_config:86 setting UsePAM yes
debug3: /usr/local/etc/ssh/sshd_config:88 setting AllowAgentForwarding
no
debug3: /usr/local/etc/ssh/sshd_config:89 setting AllowTcpForwarding no
debug3: /usr/local/etc/ssh/sshd_config:90 setting GatewayPorts no
debug3: /usr/local/etc/ssh/sshd_config:91 setting X11Forwarding no
debug3: /usr/local/etc/ssh/sshd_config:95 setting PrintMotd yes
debug3: /usr/local/etc/ssh/sshd_config:96 setting PrintLastLog yes
debug3: /usr/local/etc/ssh/sshd_config:97 setting TCPKeepAlive yes
debug3: /usr/local/etc/ssh/sshd_config:99 setting UseLogin no
debug3: /usr/local/etc/ssh/sshd_config:100 setting
UsePrivilegeSeparation yes
debug3: /usr/local/etc/ssh/sshd_config:101 setting
PermitUserEnvironment no
debug3: /usr/local/etc/ssh/sshd_config:103 setting Compression delayed
debug3: /usr/local/etc/ssh/sshd_config:104 setting ClientAliveInterval
0
debug3: /usr/local/etc/ssh/sshd_config:105 setting ClientAliveCountMax
3
debug3: /usr/local/etc/ssh/sshd_config:106 setting UseDNS yes
debug3: /usr/local/etc/ssh/sshd_config:108 setting PidFile
/var/run/sshd.pid
debug3: /usr/local/etc/ssh/sshd_config:109 setting MaxStartups 10
debug3: /usr/local/etc/ssh/sshd_config:111 setting PermitTunnel no
debug3: /usr/local/etc/ssh/sshd_config:112 setting ChrootDirectory none
debug3: /usr/local/etc/ssh/sshd_config:115 setting Banner none
debug3: /usr/local/etc/ssh/sshd_config:119 setting UseLPK yes
debug3: /usr/local/etc/ssh/sshd_config:121 setting LpkServers
ldap://srv01.ldap.ru ldap://srv02.ldap.ru
debug3: /usr/local/etc/ssh/sshd_config:122 setting LpkUserDN
ou=users,ou=sys,o=ldap,c=ru
debug3: /usr/local/etc/ssh/sshd_config:123 setting LpkGroupDN
ou=groups,ou=sys,o=ldap,c=ru
debug3: /usr/local/etc/ssh/sshd_config:124 setting LpkForceTLS no
debug3: /usr/local/etc/ssh/sshd_config:125 setting LpkSearchTimelimit 3
debug3: /usr/local/etc/ssh/sshd_config:126 setting LpkBindTimelimit 3
debug3: /usr/local/etc/ssh/sshd_config:129 setting Subsystem sftp   
/usr/local/libexec/sftp-server
debug1: sshd version OpenSSH_6.2p2 FreeBSD-openssh-portable-6.2.p2_3,1,
OpenSSL 0.9.8y 5 Feb 2013
debug3: Incorrect RSA1 identifier
debug1: read PEM private key done: type RSA
debug1: private host key: #0 type 1 RSA
debug3: Incorrect RSA1 identifier
debug1: read PEM private key done: type DSA
debug1: private host key: #1 type 2 DSA
debug1: rexec_argv[0]='/usr/local/sbin/sshd'
debug1: rexec_argv[1]='-ddd'
debug1: madvise(): Operation not permitted
debug2: fd 4 setting O_NONBLOCK
debug1: Bind to port 22 on 1.1.1.1
Server listening on 1.1.1.1 port 22.
debug1: fd 5 clearing O_NONBLOCK
debug1: Server will not fork when running in debugging mode.
debug3: send_rexec_state: entering fd = 8 config len 1235
debug3: ssh_msg_send: type 0
debug3: send_rexec_state: done
debug1: rexec start in 5 out 5 newsock 5 pipe -1 sock 8
debug1: inetd sockets after dupping: 4, 4
Connection from 2.2.2.2 port 27871
debug1: Client protocol version 2.0; client software version
check_ssh_1.4.16
debug1: no match: check_ssh_1.4.16
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.2p2
FreeBSD-openssh-portable-6.2.p2_3,1
debug2: fd 4 setting O_NONBLOCK
debug2: Network child is on pid 49597
debug3: preauth child monitor started
debug3: privsep user:group 22:22 [preauth]
debug1: permanently_set_uid: 22/22 [preauth]
debug1: list_hostkey_types: ssh-rsa,ssh-dss [preauth]
debug1: SSH2_MSG_KEXINIT sent [preauth]
Read from socket failed: Connection reset by peer [preauth]
debug1: do_cleanup [preauth]
debug3: PAM: sshpam_thread_cleanup entering [preauth]
debug1: monitor_read_log: child log fd closed
debug3: mm_request_receive entering
debug1: do_cleanup
debug3: PAM: sshpam_thread_cleanup entering
debug1: Killing privsep child 49597

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list