PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > comp.security.ssh > problems with ssh to myself
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.security.ssh SSH secure remote login and tunneling tools.

problems with ssh to myself

Réponse
 
LinkBack Outils de la discussion
Vieux 17/10/2006, 07h51   #1
Astrid Kuhr
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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
  Réponse avec citation
Vieux 17/10/2006, 13h10   #2
Richard E. Silverman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: problems with ssh to myself


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

  Réponse avec citation
Vieux 17/10/2006, 19h39   #3
René Berber
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: problems with ssh to myself



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

  Réponse avec citation
Vieux 19/10/2006, 09h07   #4
Astrid Kuhr
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: problems with ssh to myself

Hello!

>Add a rule allowing the loopback address, 127.0.0.1.

Thanx.
With this it works.

Regards, Astrid
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 19h21.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,07952 seconds with 12 queries