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

Roland Smith rsmith at
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/ 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.

R.F.Smith ( Please send e-mail as plain text.
public key:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list