I compiled ssh-2.4.0 on Solaris7-32 bit, Solaris 7-64 bit, Linux 2.2.5,
and Linux 2.4.1, all with gcc.  I have never had any problems before with
ssh1 or 2.  However with this version, I am not able to scp / ssh into any
of these boxes, I believe this is because when you make a ssh connection
to a box, the first thing it spits out is a version number, take this line
for example:

SSH-1.99-2.4.0 SSH Secure Shell (non-commercial)

However, when I'm connecting, I am getting 2 lines of data.
# telnet localhost 22
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
sshd2: SSH Secure Shell 2.4.0 (non-commercial version) on
i686-pc-linux-gnu
SSH-1.99-2.4.0 SSH Secure Shell (non-commercial)


This:
sshd2: SSH Secure Shell 2.4.0 (non-commercial version) on
i686-pc-linux-gnu

Seems to be a daemon "start-up banner" I don't know why it is echoing out
the ethernet port.. odd... in my logs, i see 2 instances of the daemon
starting, here is an excerpt from a linux box:

Feb 15 13:27:17 xyloci sshd2[32458]: Starting daemon in inetd mode.
Feb 15 13:27:17 xyloci sshd2[32458]: connection from "127.0.0.1"
Feb 15 13:27:17 xyloci sshd2[32459]: Daemon is running.
Feb 15 13:27:18 xyloci sshd2[32458]: Daemon is running.
Feb 15 13:28:48 xyloci sshd2[32459]: Local disconnected: Connection closed
by remote host.
Feb 15 13:28:48 xyloci sshd2[32459]: connection lost: 'Connection closed
by remote host.'



im starting in inetd mode with the -i switch, here is the line in my
inetd.conf:

ssh   stream  tcp     nowait  root    /usr/sbin/tcpd
/usr/local/sbin/sshd2 -i

even if this weren't correct the banner shows up on command line also,
which never happened before:
# /usr/local/sbin/sshd2
sshd2: SSH Secure Shell 2.4.0 (non-commercial version) on
i686-pc-linux-gnu
FATAL: Creating listener failed: port 22 probably already in use!

I'd appreciate any input anyone might have.

-Pete



Reply via email to