[Bug 2190] Nagios command check_ssh
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Sat Dec 21 23:39:37 EST 2013
https://bugzilla.mindrot.org/show_bug.cgi?id=2190
--- Comment #9 from Kiril Varnakov <kiril at varnakov.net> ---
With ssh from base system:
--------------------------------------------------------
root at ns1:/home/kvarnakov # /usr/sbin/sshd -ddd
debug2: load_server_config: filename /etc/ssh/sshd_config
debug2: load_server_config: done config len = 883
debug2: parse_server_config: config /etc/ssh/sshd_config len 883
debug3: /etc/ssh/sshd_config:17 setting VersionAddendum ???
debug3: /etc/ssh/sshd_config:19 setting Port 22
debug3: /etc/ssh/sshd_config:20 setting Protocol 2
debug3: /etc/ssh/sshd_config:21 setting AddressFamily inet
debug3: /etc/ssh/sshd_config:22 setting ListenAddress 1.1.1.1
debug3: /etc/ssh/sshd_config:28 setting HostKey
/etc/ssh/ssh_host_dsa_key
debug3: /etc/ssh/sshd_config:31 setting KeyRegenerationInterval 1h
debug3: /etc/ssh/sshd_config:32 setting ServerKeyBits 768
debug3: /etc/ssh/sshd_config:36 setting SyslogFacility AUTH
debug3: /etc/ssh/sshd_config:37 setting LogLevel INFO
debug3: /etc/ssh/sshd_config:41 setting LoginGraceTime 2m
debug3: /etc/ssh/sshd_config:42 setting PermitRootLogin no
debug3: /etc/ssh/sshd_config:43 setting StrictModes yes
debug3: /etc/ssh/sshd_config:44 setting MaxAuthTries 3
debug3: /etc/ssh/sshd_config:46 setting RSAAuthentication no
debug3: /etc/ssh/sshd_config:47 setting PubkeyAuthentication yes
debug3: /etc/ssh/sshd_config:48 setting AuthorizedKeysFile
.ssh/authorized_keys
debug3: /etc/ssh/sshd_config:51 setting RhostsRSAAuthentication no
debug3: /etc/ssh/sshd_config:53 setting HostbasedAuthentication no
debug3: /etc/ssh/sshd_config:56 setting IgnoreUserKnownHosts yes
debug3: /etc/ssh/sshd_config:58 setting IgnoreRhosts yes
debug3: /etc/ssh/sshd_config:61 setting PasswordAuthentication yes
debug3: /etc/ssh/sshd_config:62 setting PermitEmptyPasswords no
debug3: /etc/ssh/sshd_config:65 setting ChallengeResponseAuthentication
no
debug3: /etc/ssh/sshd_config:85 setting UsePAM no
debug3: /etc/ssh/sshd_config:87 setting AllowTcpForwarding no
debug3: /etc/ssh/sshd_config:88 setting GatewayPorts no
debug3: /etc/ssh/sshd_config:89 setting X11Forwarding no
debug3: /etc/ssh/sshd_config:92 setting PrintMotd yes
debug3: /etc/ssh/sshd_config:93 setting PrintLastLog yes
debug3: /etc/ssh/sshd_config:94 setting TCPKeepAlive yes
debug3: /etc/ssh/sshd_config:95 setting UseLogin no
debug3: /etc/ssh/sshd_config:96 setting UsePrivilegeSeparation yes
debug3: /etc/ssh/sshd_config:97 setting PermitUserEnvironment no
debug3: /etc/ssh/sshd_config:98 setting Compression delayed
debug3: /etc/ssh/sshd_config:99 setting ClientAliveInterval 0
debug3: /etc/ssh/sshd_config:100 setting ClientAliveCountMax 3
debug3: /etc/ssh/sshd_config:101 setting UseDNS yes
debug3: /etc/ssh/sshd_config:102 setting PidFile /var/run/sshd.pid
debug1: HPN Buffer Size: 65536
debug1: sshd version OpenSSH_5.8p2_hpn13v11 ???
debug3: Incorrect RSA1 identifier
debug1: read PEM private key done: type DSA
debug1: private host key: #0 type 2 DSA
debug1: rexec_argv[0]='/usr/sbin/sshd'
debug1: rexec_argv[1]='-ddd'
debug1: madvise(): Operation not permitted
debug2: fd 3 setting O_NONBLOCK
debug1: Bind to port 22 on 1.1.1.1.
debug1: Server TCP RWIN socket size: 65536
debug1: HPN Buffer Size: 65536
Server listening on 81.176.72.17 port 22.
debug1: fd 4 clearing O_NONBLOCK
debug1: Server will not fork when running in debugging mode.
debug3: send_rexec_state: entering fd = 7 config len 883
debug3: ssh_msg_send: type 0
debug3: send_rexec_state: done
debug1: rexec start in 4 out 4 newsock 4 pipe -1 sock 7
debug1: inetd sockets after dupping: 3, 3
debug1: res_init()
Connection from 2.2.2.2 port 37109
debug1: HPN Disabled: 0, HPN Buffer Size: 65536
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_5.8p2_hpn13v11 ???
debug2: fd 3 setting O_NONBLOCK
debug2: Network child is on pid 34321
debug3: preauth child monitor started
debug3: mm_request_receive entering
debug3: privsep user:group 22:22
debug1: permanently_set_uid: 22/22
debug1: list_hostkey_types: ssh-dss
debug1: SSH2_MSG_KEXINIT sent
Read from socket failed: Connection reset by peer
debug1: do_cleanup
debug1: do_cleanup
-------------------------------------------
but if i start in demon mode, i don't see this error in log.
PS:
With custom KexAlgorithms and Ciphers error repeated.
--
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