problems with ssh to myself
Hello!
On a linuxsystem (Suse 10.0) with IP 123.45.67.8
I configured hosts.allow as following:
sshd : local : ALLOW
sshd : 123.45.67.8 : ALLOW
sshd : 123.45.67.9 : ALLOW
sshd : ALL : DENY
I only want to allow to these two IPs the ssh-access.
If I test from machine 123.45.67.9 the ssh
to 123.45.67.8 it works.
But on machine 123.45.67.8 the ssh to itself
dont work (I need the ssh-access to itself for
running mpich).
This is the error-message:
ssh_exchange_identification: Connection closed by remote host
If I ommit the last line
#sshd : ALL : DENY
in my hosts.allow all is working very well.
How can I get it work, only allow the ssh-access
to these two IPs and deny for all other?
Regards, Astrid
|