|
|
|
|
||||||
| comp.security.ssh SSH secure remote login and tunneling tools. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
On Oct 17, 1:51 am, Astrid Kuhr wrote: > On a linuxsystem (Suse 10.0) with IP 123.45.67.8 > I configured hosts.allow as following: > > sshd : local : ALLOW -------------^^^^^^ You meant localhost. [snip] -- René Berber |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
Hello!
>Add a rule allowing the loopback address, 127.0.0.1. Thanx. With this it works. ![]() Regards, Astrid |
|
![]() |
| Outils de la discussion | |
|
|