Add a rule allowing the loopback address, 127.0.0.1.
>>>>> "AK" == Astrid Kuhr <a_kuhr@web.de> writes:
AK> Hello! On a linuxsystem (Suse 10.0) with IP 123.45.67.8 I
AK> configured hosts.allow as following:
AK> sshd : local : ALLOW sshd : 123.45.67.8 : ALLOW sshd : 123.45.67.9
AK> : ALLOW sshd : ALL : DENY
AK> I only want to allow to these two IPs the ssh-access.
AK> If I test from machine 123.45.67.9 the ssh to 123.45.67.8 it
AK> works.
AK> But on machine 123.45.67.8 the ssh to itself dont work (I need the
AK> ssh-access to itself for running mpich).
AK> This is the error-message: ssh_exchange_identification: Connection
AK> closed by remote host
AK> If I ommit the last line #sshd : ALL : DENY in my hosts.allow all
AK> is working very well.
AK> How can I get it work, only allow the ssh-access to these two IPs
AK> and deny for all other?
AK> Regards, Astrid
--
Richard Silverman
res@qoxp.net