ssh (sometimes) refused from subnet

From: Adam (usenet@dagobah.com)
Date: 12/13/01


From: usenet@dagobah.com (Adam)
Date: 12 Dec 2001 18:30:00 -0800

Not sure whether this is an ssh issue or my network is misconfigured,
but it only manifests with ssh, so here goes.

I have a client on a subnet (internal ip: 192.168.5.100, gateway is
FreeBSD using natd/ipfw) trying to ssh (using password) to several
external machines, and failing on certain ones. All involved machines
are FreeBSD or variants. This is the only client on the subnet. I
have no problems connect to anything if I connect from the gateway
machine, and I haven't had problems with any other protocols.

ie.
> ssh -v me@server3.com
OpenSSH_2.9p2, SSH protocols 1.5/2.0, OpenSSL 0x0090602f
debug1: Reading configuration data /etc/ssh_config
debug1: Seeding random number generator
debug1: Rhosts Authentication disabled, originating port will not be
trusted.
debug1: restore_uid
debug1: ssh_connect: getuid 501 geteuid 501 anon 1
debug1: Trying again...
debug1: Trying again...
debug1: Trying again...
Secure connection to server3.com refused.

Client:
> uname -a
Darwin localhost 5.1 Darwin Kernel Version 5.1: Tue Oct 30 00:06:34
PST 2001; root:xnu/xnu-201.5.obj~1/RELEASE_PPC Power Macintosh
powerpc
> ssh -V
OpenSSH_2.9p2, SSH protocols 1.5/2.0, OpenSSL 0x0090602f

Server 1 -- this one works:
> uname -a
FreeBSD shell16.ba.best.com 2.2.8-STABLE FreeBSD 2.2.8-STABLE #128:
Fri Jan 12 10:17:00 PST 2001
ejh@tick.best.net:/src/src/sys/compile/BEST i386
> sshd -what-option-prints-version-here
sshd: illegal option -- w
sshd version 1.2.27 [i386--freebsd2.2.8]

Server 2 -- this fails:
> uname -a
FreeBSD server2.com 4.2-RELEASE FreeBSD 4.2-RELEASE #3: Fri Aug 24
16:14:48 MDT 2001 root@fc:/usr/src/sys/compile/VKERN i386
> sshd -what-option-prints-version-here
sshd: illegal option -- w
sshd version OpenSSH_2.9p2

Server 3 -- this also fails:
> uname -a
FreeBSD server3.com 4.4-RELEASE FreeBSD 4.4-RELEASE #1: Fri Dec 7
07:59:47 PST 2001 root@server3.com:/usr/src/sys/compile/NETFINITY
i386
> sshd -what-option-prints-version-here
sshd: illegal option -- w
sshd version OpenSSH_2.3.0 FreeBSD localisations 20010713

Please help!

Thanks
Adam



Relevant Pages


Quantcast