From owner-freebsd-questions@FreeBSD.ORG Wed Jun 1 19:32:31 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5003C16A41C for ; Wed, 1 Jun 2005 19:32:31 +0000 (GMT) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr7.xs4all.nl (smtp-vbr7.xs4all.nl [194.109.24.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id B249E43D49 for ; Wed, 1 Jun 2005 19:32:30 +0000 (GMT) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr7.xs4all.nl (8.13.3/8.13.3) with ESMTP id j51JWSnk023588; Wed, 1 Jun 2005 21:32:28 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 6A255650B; Wed, 1 Jun 2005 21:32:28 +0200 (CEST) Date: Wed, 1 Jun 2005 21:32:28 +0200 From: Roland Smith To: Steven Friedrich Message-ID: <20050601193228.GB26639@slackbox.xs4all.nl> Mail-Followup-To: Steven Friedrich , freebsd-questions@freebsd.org References: <200506011449.45455.FreeBSD@InsightBB.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="aM3YZ0Iwxop3KEKx" Content-Disposition: inline In-Reply-To: <200506011449.45455.FreeBSD@InsightBB.com> User-Agent: Mutt/1.4.2.1i X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: can't figure out ssh, read lots of docs... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jun 2005 19:32:31 -0000 --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--