Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 May 2006 16:40:56 GMT
From:      miks <miks@skynet.lv>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   amd64/98016: Buffer problem with SSH2 under amd64
Message-ID:  <200605271640.k4RGeuNP041897@www.freebsd.org>
Resent-Message-ID: <200605271650.k4RGoHGU050620@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         98016
>Category:       amd64
>Synopsis:       Buffer problem with SSH2 under amd64
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-amd64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 27 16:50:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     miks
>Release:        freebsd 6.0
>Organization:
skynet
>Environment:
FreeBSD sun 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu May 25 14:35:44 UTC 2006
>Description:
This is a problem with ssh2 (ssh2-nox11-3.2.9.1_5 Secure shell client and server for V.2 SSH protocol).
It seems broken under this freebsd release (6.0 amd64).

[root@sun /home]# ssh -v test@192.168.1.19
OpenSSH_4.2p1 FreeBSD-20050903, OpenSSL 0.9.7e-p1 25 Oct 2004
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to 192.168.1.19 [192.168.1.19] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: identity file /root/.ssh/identity type -1
debug1: identity file /root/.ssh/id_rsa type -1
debug1: identity file /root/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version 3.2.9.1 SSH Secure Shell (non-commercial)
debug1: no match: 3.2.9.1 SSH Secure Shell (non-commercial)
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.2p1 FreeBSD-20050903
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: sending SSH2_MSG_KEXDH_INIT
debug1: expecting SSH2_MSG_KEXDH_REPLY
debug1: Host '192.168.1.19' is known and matches the DSA host key.
debug1: Found key in /root/.ssh/known_hosts:2
debug1: ssh_dss_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Trying private key: /root/.ssh/identity
debug1: Trying private key: /root/.ssh/id_rsa
debug1: Trying private key: /root/.ssh/id_dsa
debug1: Next authentication method: password
test@192.168.1.19's password:
debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
buffer_get_ret: trying to get more bytes 1 than in buffer 0
buffer_get_char_ret: buffer_get_ret failed
buffer_get_char: buffer error


in fact: "[root@sun /home]# ssh test@localhost" works fine.

some kind of problems with DNS?
>How-To-Repeat:
just login in system with amd64 release and ssh2
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605271640.k4RGeuNP041897>