[Mandrake 9.1] Login problems with OpenSSH
Hello,
I am running a Mandrake 9.1 server with OpenSSH 3.6.1. I can login on the localhost but when I try to login from the internal network or from outside the internet it gives this error: ssh_identification_exchange: Connection closed by remote host My log files give this error: sshd[4823]: refused connect from 193.172.*.* (193.172.*.*) (I have replaced the last two bits of the IP with astrics so my IP-adress is not fully revealed) I am running a firewall (shorewall) but it has port 22 open, so I don't think that that is the problem, since the problem remains when I shutdown the firewall. I can't really think of any more info at the moment which is relevant. I hope anybody can help me out with this. Thanks in advantage. |
Hi,
Can you run ssh with debug and post the output. ssh -vvv 193.172.*.* Iain. |
[adminja@nlzei-ws-Jorn adminja]$ ssh -vvv jorn@62.194.*.* (This is the IP adress of my server)
OpenSSH_3.6.1p2, SSH protocols 1.5/2.0, OpenSSL 0x0090701f debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Rhosts Authentication disabled, originating port will not be trusted. debug2: ssh_connect: needpriv 0 debug1: Connecting to 62.194.*.* [62.194.*.* port 22. debug1: Connection established. debug1: identity file /home/adminja/.ssh/identity type -1 debug1: identity file /home/adminja/.ssh/id_rsa type -1 debug1: identity file /home/adminja/.ssh/id_dsa type -1 ssh_exchange_identification: Connection closed by remote host debug1: Calling cleanup 0x8062180(0x0) [adminja@nlzei-ws-Jorn adminja]$ |
Hi,
Can you post your sshd_config file? |
Try renaming your ~/.ssh directory to another name (i.e. move it) and see if that makes a difference.
|
Here is my sshd.conf: (On my server, of course)
Quote:
Unfortunately that did not made a difference. |
Can anybody help me out with this? If not it is all right, but I would definitely would like to have my SSH server running.
|
All times are GMT -5. The time now is 05:55 PM. |