I have recently been trying to configure ssh 1.2.26 to allow
.shosts login with no password as a non-root user. I have run into
a situation where I have two machines which are running identical
versions of ssh (1.2.26) with identical configurations. I am able to
ssh from machine 2 to machine 1 without a password, using .shosts
and the host public key from machine 2. I can't manage to get it to
work from machine 1 to machine 2 though.
I have checked and rechecked all the configurations repeatedly.
I am able to ssh as root using /.shosts between both machines with
no problem, but only one way as a non-root user. After trying everything
I could think of, I ran sshd under truss on both machines to see if
I could find any problems. On machine 1, it stats and opens /home/user/.shosts.
On machine 2 it tries to stat and open //.shosts for some reason.
I've checked the password file, and both user entries seem to be
the same. The machines are configured identically. I've checked DNS
for problems there. I've checked to make sure the names I'm resolving
match up with the host key and .shosts entries. Nothing seems to be
wrong. Am I just overlooking something simple, or could this possibly
be a bug?
I tried installing 1.2.27 on the problem machine, but I still ran into the same
problem. Any help would be appreciated.
Paul