Date: Wed, 1 Jun 2005 21:32:28 +0200 From: Roland Smith <rsmith@xs4all.nl> To: Steven Friedrich <FreeBSD@InsightBB.com> Cc: freebsd-questions@freebsd.org Subject: Re: can't figure out ssh, read lots of docs... Message-ID: <20050601193228.GB26639@slackbox.xs4all.nl> In-Reply-To: <200506011449.45455.FreeBSD@InsightBB.com> References: <200506011449.45455.FreeBSD@InsightBB.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--aM3YZ0Iwxop3KEKx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. =20 Try invoking ssh with the -v option, to see what goes wrong. =20 > I've used ssh-keygen and I'm trying to login to the localhost (using it's= =20 > 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 =3D no RhostsAuthentication =3D no RhostsRSAAuthentication =3D no RSAAuthentication =3D yes That works for me. Roland --=20 R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt --aM3YZ0Iwxop3KEKx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCng1MEnfvsMMhpyURAvDJAJ9u7d7cU2qNQGvsoFpZznEaNsCx7QCePKoU 2vloiZr/nuZmx26BLpFEbog= =js1h -----END PGP SIGNATURE----- --aM3YZ0Iwxop3KEKx--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050601193228.GB26639>