ssh to FreeBSD 4 systems: xmalloc: zero size

Craig Rodrigues rodrigc at
Mon Sep 15 20:08:38 UTC 2008


With the latest FreeBSD 7.1 PRE-RELEASE, I am having trouble
ssh'ing to FreeBSD 4 systems.

I am getting this error:
OpenSSH_5.1p1 FreeBSD-20080901, OpenSSL 0.9.8e 23 Feb 2007
debug1: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connection established.
debug1: identity file /homes/rodrigc/.ssh/identity type -1
debug1: identity file /homes/rodrigc/.ssh/id_rsa type -1
debug1: identity file /homes/rodrigc/.ssh/id_dsa type 2
debug1: Remote protocol version 1.99, remote software version OpenSSH_3.5p1 FreeBSD-20060930
debug1: match: OpenSSH_3.5p1 FreeBSD-20060930 pat OpenSSH_3.*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.1p1 FreeBSD-20080901
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: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host '' is known and matches the DSA host key.
debug1: Found key in /homes/rodrigc/.ssh/known_hosts:100
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_ACCEPT received
xmalloc: zero size

At this point I cannot log in.  The system I am trying to log into
is: 4.11-RELEASE-p26
Any ideas?

This is a big problem for me, because I have a lot of FreeBSD 4.x
servers that I need to log into.

Craig Rodrigues
rodrigc at

More information about the freebsd-stable mailing list