Ricardo--do you have all the correct host names and ip numbers
of the machines entered in /etc/hosts?

Steve Timm

On Mon, 27 Apr 2009, Ricardo Alzugaray wrote:

Hello,

We are trying to implement ssh passwordless access in a small cluster
running Scientific Linux 5.2 on i386. However, it is only working (ssh no

password prompt) from the nodes to the server.

The /etc/hosts.equiv includes both the name of the server and the computi
ng
nodes.

The /etc/ssh/sshd_config was configured as follows:

HostbasedAuthentication yes
IgnoreUserKnownHosts yes
IgnoreRhosts yes


The outputs from the node n07 to the server meyer:

[rialz...@meyer ssh]$ ssh n07 date
get_socket_address: getnameinfo 8 failed: Name or service not known
userauth_hostbased: cannot get local ipaddr/name
rialz...@n07's password:
Mon Apr 27 13:06:22 CEST 2009
[rialz...@meyer ssh]$


[rialz...@meyer ssh]$ ssh rialz...@192.168.0.7 date
get_socket_address: getnameinfo 8 failed: Name or service not known
userauth_hostbased: cannot get local ipaddr/name
rialz...@192.168.0.7's password:
Mon Apr 27 13:07:01 CEST 2009
[rialz...@meyer ssh]$


The output from the server to the client:

[rialz...@localhost ssh]$ ssh meyer date
Mon Apr 27 14:40:41 CEST 2009
[rialz...@localhost ssh]$


Any suggestion will be greatly appreciated

Ricardo


--
------------------------------------------------------------------
Steven C. Timm, Ph.D  (630) 840-8525
t...@fnal.gov  http://home.fnal.gov/~timm/
Fermilab Computing Division, Scientific Computing Facilities,
Grid Facilities Department, FermiGrid Services Group, Assistant Group Leader.

Reply via email to