sshd broken in today's snapshot?

2014-05-02 Thread Liviu Daia
Unless I'm doing something stupid, sshd seems to be broken in
today's snapshot.

From a Linux machine:

$ ssh testing
Connection to testing closed by remote host.
Connection to testing closed.

From the server's point of view:

# dmesg | head -1
OpenBSD 5.5-current (GENERIC.MP) #95: Fri May  2 06:31:18 MDT 2014

# /usr/sbin/sshd -d
debug1: sshd version OpenSSH_6.7, OpenSSL 1.0.1g 7 Apr 2014
debug1: key_parse_private2: missing begin marker
debug1: read PEM private key done: type RSA
debug1: private host key: #0 type 1 RSA
debug1: key_parse_private2: missing begin marker
debug1: read PEM private key done: type DSA
debug1: private host key: #1 type 2 DSA
debug1: key_parse_private2: missing begin marker
debug1: read PEM private key done: type ECDSA
debug1: private host key: #2 type 3 ECDSA
debug1: private host key: #3 type 4 ED25519
debug1: rexec_argv[0]='/usr/sbin/sshd'
debug1: rexec_argv[1]='-d'
debug1: Bind to port 22 on 0.0.0.0.
Server listening on 0.0.0.0 port 22.
debug1: fd 4 clearing O_NONBLOCK
debug1: Server will not fork when running in debugging mode.
debug1: rexec start in 4 out 4 newsock 4 pipe -1 sock 7
debug1: inetd sockets after dupping: 3, 3
Connection from 192.168.56.1 port 57650 on 192.168.56.102 port 22
debug1: Client protocol version 2.0; client software version OpenSSH_6.6
debug1: match: OpenSSH_6.6 pat OpenSSH_6.5*,OpenSSH_6.6* compat 0x1400
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.7
debug1: permanently_set_uid: 27/27 [preauth]
debug1: list_hostkey_types: ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ssh-ed25519 
[preauth]
debug1: SSH2_MSG_KEXINIT sent [preauth]
debug1: SSH2_MSG_KEXINIT received [preauth]
debug1: kex: client-server aes128-ctr umac-64-...@openssh.com z...@openssh.com 
[preauth]
debug1: kex: server-client aes128-ctr umac-64-...@openssh.com z...@openssh.com 
[preauth]
debug1: expecting SSH2_MSG_KEX_ECDH_INIT [preauth]
debug1: SSH2_MSG_NEWKEYS sent [preauth]
debug1: expecting SSH2_MSG_NEWKEYS [preauth]
debug1: SSH2_MSG_NEWKEYS received [preauth]
debug1: KEX done [preauth]
debug1: userauth-request for user daia service ssh-connection method none 
[preauth]
debug1: attempt 0 failures 0 [preauth]
debug1: userauth-request for user daia service ssh-connection method publickey 
[preauth]
debug1: attempt 1 failures 0 [preauth]
debug1: test whether pkalg/pkblob are acceptable [preauth]
debug1: temporarily_use_uid: 1000/1000 (e=0/0)
debug1: trying public key file /home/daia/.ssh/authorized_keys
debug1: fd 4 clearing O_NONBLOCK
debug1: restore_uid: 0/0
Failed publickey for daia from 192.168.56.1 port 57650 ssh2: RSA 
3b:30:77:5c:8b:55:cf:a1:f6:f6:81:27:73:d8:2e:3e
debug1: userauth-request for user daia service ssh-connection method publickey 
[preauth]
debug1: attempt 2 failures 1 [preauth]
debug1: test whether pkalg/pkblob are acceptable [preauth]
debug1: temporarily_use_uid: 1000/1000 (e=0/0)
debug1: trying public key file /home/daia/.ssh/authorized_keys
debug1: fd 4 clearing O_NONBLOCK
debug1: matching key found: file /home/daia/.ssh/authorized_keys, line 1 DSA 
3b:87:9f:8e:ef:ea:cf:a5:2e:9a:a4:bb:c7:b6:86:f6
debug1: restore_uid: 0/0
Postponed publickey for daia from 192.168.56.1 port 57650 ssh2 [preauth]
debug1: userauth-request for user daia service ssh-connection method publickey 
[preauth]
debug1: attempt 3 failures 1 [preauth]
debug1: temporarily_use_uid: 1000/1000 (e=0/0)
debug1: trying public key file /home/daia/.ssh/authorized_keys
debug1: fd 4 clearing O_NONBLOCK
debug1: matching key found: file /home/daia/.ssh/authorized_keys, line 1 DSA 
3b:87:9f:8e:ef:ea:cf:a5:2e:9a:a4:bb:c7:b6:86:f6
debug1: restore_uid: 0/0
debug1: ssh_dss_verify: signature correct
Accepted publickey for daia from 192.168.56.1 port 57650 ssh2: DSA 
3b:87:9f:8e:ef:ea:cf:a5:2e:9a:a4:bb:c7:b6:86:f6
debug1: monitor_child_preauth: daia has been authenticated by privileged process
debug1: Enabling compression at level 6. [preauth]
debug1: monitor_read_log: child log fd closed
User child is on pid 11401
debug1: Entering interactive session for SSH2.
debug1: server_init_dispatch_20
debug1: do_cleanup

At this point, sshd exits.

Regards,

Liviu Daia



Re: sshd broken in today's snapshot?

2014-05-02 Thread Jeremy Evans
On Fri, May 2, 2014 at 8:42 AM, Liviu Daia liviu.d...@gmail.com wrote:

 Unless I'm doing something stupid, sshd seems to be broken in
 today's snapshot.

 From a Linux machine:

 $ ssh testing
 Connection to testing closed by remote host.
 Connection to testing closed.

 From the server's point of view:

 # dmesg | head -1
 OpenBSD 5.5-current (GENERIC.MP) #95: Fri May  2 06:31:18 MDT 2014

 # /usr/sbin/sshd -d
 debug1: Enabling compression at level 6. [preauth]


Try disabling compression and see if that fixes it.

Jeremy



Re: sshd broken in today's snapshot?

2014-05-02 Thread Liviu Daia
On 2 May 2014, Jeremy Evans jeremyeva...@gmail.com wrote:
 On Fri, May 2, 2014 at 8:42 AM, Liviu Daia liviu.d...@gmail.com wrote:
 
  Unless I'm doing something stupid, sshd seems to be broken in
  today's snapshot.
 
  From a Linux machine:
 
  $ ssh testing
  Connection to testing closed by remote host.
  Connection to testing closed.
 
  From the server's point of view:
 
  # dmesg | head -1
  OpenBSD 5.5-current (GENERIC.MP) #95: Fri May  2 06:31:18 MDT 2014
 
  # /usr/sbin/sshd -d
  debug1: Enabling compression at level 6. [preauth]
 
 
 Try disabling compression and see if that fixes it.

Yes, it works with compression disabled, thank you.

Regards,

Liviu Daia