On Thu, 3 Jun 1999, Mike A. Harris wrote:
> How does one set up SSH properly without passwords?
>
> On my local private LAN, I've got SSH running, and I've copied my
> identity.pub on the local machine to the authorized_keys file on
> the other, as well as setting perms on authorized_keys to 600.
>
> Does one *REQUIRE* the .shosts file as well? If so, what is the
> exact syntax of that file (pointers to non-cryptic,
> and easy to read/understand documentation are fine).
No need for .shosts file.
Try this:
Make a key on the machine that's going to be the client
ssh-keygen
Give it an empty passphrase
add the resultant ~/.ssh/identity.pub to the server machine's
~/.ssh/authorized_keys, and you should be able to log in without
a prompt.
If this DOESN'T work, check the following:
- access (allowhost) in /etc/sshd_config
- does the pub key match teh authorized_hosts?
- what does ssh -v (hostname) say
=-=-=-=-=-=-=-=-=- generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
David Stern Flight Dynamics
[EMAIL PROTECTED] Goddard Space Flight Ctr
Building 23 Room S226 301-286-9786