can't figure out ssh, read lots of docs...

Roland Smith rsmith at xs4all.nl
Wed Jun 1 19:32:31 GMT 2005


On Wed, Jun 01, 2005 at 02:49:45PM -0400, Steven Friedrich wrote:

> I'm trying to use scp and I get prompted for a password or passphrase
> for each invocation.
>
> I figure I need to figure out how to get ssh to connect without
> prompting, but I just can't get it.  I've read all the man pages and
> my head is swirling.  I went to the OpenSSH web site and got no
> further.  I've been in the business for 28 years and can usually
> figure things out from man pages, but ssh doesn't seem to be clear
> enough.  

Try invoking ssh with the -v option, to see what goes wrong.
 
> I've used ssh-keygen and I'm trying to login to the localhost (using it's 
> hostname).

Have you copied $HOME/.ssh/identity.pub to $HOME/.ssh/authorized_keys on
the target machine?

> Anybody know of a short tutorial that just works?

I'm using the ssh1 protocol. I've set the following in ~/.ssh/config:

PasswordAuthentication = no
RhostsAuthentication = no
RhostsRSAAuthentication = no
RSAAuthentication = yes

That works for me.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050601/0ced8cc8/attachment.bin


More information about the freebsd-questions mailing list