[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

SSH likes one machine, not another



This is a little off-topic (not an installation issue), but I've observed
that most of the discussions on this list are, so here goes another one. :-)

I am setting up ssh for use by scripts, so I want RSA challenge
authentication (so it won't ask for a password).  I have one client that
will access two servers (all three are RH 6.1 machines with the same version
of openssh packages installed), all as root.  I ran ssh-keygen on my client,
and copied the identity.pub to both servers, saving it as
/root/.ssh/authorized_keys.  But mysteriously, one machine logs me in
immediately when I run ssh <ip-address> and the other always asks for the
password (if I enter the password it lets me in, but of course that's not
what I want).  I have verified several times that the files are named
correctly, not corrupted, etc., copying the one from the good server to the
other just to make sure.  Both servers are recorded in the client's
known_hosts file (which happened the first time I logged into each of them).
If the response had been reversed I would have suspected something with my
security setup, because the one that works is outside our firewall and
hardened, but the one that doesn't work is on the same net as the client and
an unmodified RH install.  What should I check for that I haven't already
thought of?

--------------------------------
Karen Ellrick
S & C Technology, Inc.
1-21-35 Kusatsu-shinmachi
Hiroshima  733-0834  Japan
(from U.S. 011-81, from Japan 0) 82-293-2838
--------------------------------





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]