ssh_exchange_identification: Connection closed by remote host

Jon Nathan jon at rupture.net
Sat Mar 17 08:44:09 EST 2001


hello,

i built an ssh 2.5.1p2 package for solaris.  it's installed into
/usr/local (with sysconfdir=/etc) on an administrative host with write
access to /usr/local.  other hosts nfs mount /usr/local.  i had a
script copy the following files generated from the package install 
into each host's /etc directory:

primes         ssh_prng_cmds  sshd_config    ssh_config     

then ran ssh-keygen (copied from the install target of the Makefile)
on each machine as well.  i can ssh from the administrative host that
actually has the package installed to other hosts, but i cannot ssh
from the clients with nfs mounted /usr/local and copied /etc files.

i don't see any errors in the logs on the remote host - anyone see
what i'm doing wrong?


pluto# which ssh
/usr/local/bin/ssh
pluto# ssh -V
OpenSSH_2.5.1p2, SSH protocols 1.5/2.0, OpenSSL 0x0090600f
pluto# ssh jnathan at examplehost
ssh_exchange_identification: Connection closed by remote host
pluto# ssh -v -v -v jnathan at atlsnlb1
OpenSSH_2.5.1p2, SSH protocols 1.5/2.0, OpenSSL 0x0090600f
debug: Reading configuration data /etc/ssh_config
debug: Rhosts Authentication disabled, originating port will not be
trusted.
debug: ssh_connect: getuid 0 geteuid 2 anon 1
debug: Connecting to atlsnlb1 [10.8.17.100] port 22.
debug: Connection established.
debug: identity file //.ssh/identity type 3
debug: identity file //.ssh/id_dsa type 3
ssh_exchange_identification: Connection closed by remote host
debug: Calling cleanup 0x45580(0x0)
debug: Calling cleanup 0x4b318(0x0)
debug: writing PRNG seed to file //.ssh/prng_seed
pluto# 
pluto# uname -a
SunOS pluto 5.7 Generic_106541-14 sun4u sparc SUNW,Ultra-4
pluto# ls -al /etc/ssh*
-rw-r--r--   1 root     other       1085 Mar 16 16:16 /etc/ssh_config
-rw-------   1 root     other        668 Mar 16 15:44
/etc/ssh_host_dsa_key
-rw-r--r--   1 root     other        600 Mar 16 15:44
/etc/ssh_host_dsa_key.pub
-rw-------   1 root     other        525 Mar 16 15:43
/etc/ssh_host_key
-rw-r--r--   1 root     other        329 Mar 16 15:44
/etc/ssh_host_key.pub
-rw-------   1 root     other        883 Mar 16 15:44
/etc/ssh_host_rsa_key
-rw-r--r--   1 root     other        220 Mar 16 15:44
/etc/ssh_host_rsa_key.pub
-rw-r--r--   1 root     other       1770 Mar 16 16:16
/etc/ssh_prng_cmds
-rw-r--r--   1 root     other          6 Mar 16 16:21 /etc/sshd.pid
-rw-r--r--   1 root     other       1432 Mar 16 16:16 /etc/sshd_config
pluto# 

pluto# 


thanks,
-jon

-- 
Jon Nathan
jon at rupture.net
http://www.rupture.net/~jon/







More information about the openssh-unix-dev mailing list