On Mon, Nov 19, 2001 at 08:23:58PM +1100, Howard Lowndes wrote: > ...and all I did was change the IP address of the damned box. > > Now I cannot log into it; all I get on the client is: > ssh_exchange_identification: Connection closed by remote host > > Running both the server and the client in debug is not much more > enlightening. I have cleared out the various known_hosts files, and > recreated the server keys, but still nothing.
Does it really print nothing at all when using sshd -d and ssh -v -v -v? > The TCP sessions does a SYN, SYN ACK, and an ACK to open the connection > but then the server immediately sends a FIN, which gets responded to be > the client, and everything promptly dies. I can see no sign of any name > resolution being negociated, which I thought might have caused the > problem. > > Ideas are more than welcome as I have lost my cluestick. In /etc/ssh/sshd_config, do you have the ListenAddress option set? If so, is it set to right IP number? If you change the IP number back, does it work again? Did anything else change when you changed the IP number? I'm trying to think hwo you would get this sort of response and I can only reason that there must be something listening on port 22 (otherwise you'd get a RST, not a FIN, in reply). So I'm wondering if you have some iptables rules interfering, or something like that. Cheers, Malcolm -- Despite the cost of living, have you noticed how popular it remains? -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
