From owner-freebsd-questions Tue Sep 4 3:48:12 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ns2.wananchi.com (mail.wananchi.com [62.8.64.4]) by hub.freebsd.org (Postfix) with ESMTP id 6049637B407 for ; Tue, 4 Sep 2001 03:48:01 -0700 (PDT) Received: from wash by ns2.wananchi.com with local (Exim 3.33 #1) id 15eDjh-000Lob-00; Tue, 04 Sep 2001 13:47:17 +0300 Date: Tue, 4 Sep 2001 13:47:17 +0300 From: Odhiambo Washington To: Ceri Cc: FBSD-Q Subject: Re: SSH and connection automation Message-ID: <20010904134717.J30499@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , Ceri , FBSD-Q References: <20010903171657.A31458@ns2.wananchi.com> <20010903130118.D4A5C59D8@mark9.vladsempire.net> <20010904133449.H30499@ns2.wananchi.com> <20010904114259.A5560@cartman.private.techsupport.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rMWmSaSbD7nr+du9" Content-Disposition: inline In-Reply-To: <20010904114259.A5560@cartman.private.techsupport.co.uk> User-Agent: Mutt/1.3.22.1i X-Disclaimer: My opinions do not necessarily represent those of my employer. X-Operating-System: FreeBSD 4.3-STABLE i386 X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. X-Uptime: 1:44PM up 12 days, 17:51, 4 users, load averages: 1.05, 1.11, 1.08 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --rMWmSaSbD7nr+du9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Ceri [20010904 13:42]: writing on the subject 'R= e: SSH and connection automation' | On Tue, Sep 04, 2001 at 01:34:49PM +0300, Odhiambo Washington said: | >=20 | > If the man page for sshd isn't out of date then it's my dumbness. | > I am looking at the section that specifies the format of the file | > $HOME/.ssh/authorized_keys and don't understand where some items are | > coming from. Yes, I've copied the identity.pub to authorized_keys and n= ow | > I want to edit authorized_keys but some examples on that man page have | > left me stumped! |=20 | Personally, I just have the one key, so I just do |=20 | ln -sf identity.pub authorized_keys |=20 | Ceri And it works for you?? Then the man page is really out of date, unless there is something I don't quite understand. When I posted about this ssh auth initially, I had simply copied identity.pub to authorized_keys and it did not work!=20 It still doesn't: # wash:~/.ssh$ ssh -v ns2 SSH Version OpenSSH_2.3.0 green@FreeBSD.org 20010321, protocol versions 1.5/2.0. Compiled with SSL (0x0090601f). debug: Reading configuration data /etc/ssh/ssh_config debug: ssh_connect: getuid 1000 geteuid 1000 anon 1 debug: Connecting to ns2.wananchi.com [62.8.64.4] port 22. debug: Connection established. debug: Remote protocol version 1.99, remote software version OpenSSH_2.3.0 green @FreeBSD.org 20010321 debug: match: OpenSSH_2.3.0 green@FreeBSD.org 20010321 pat ^OpenSSH[-_]2\.3 debug: Local version string SSH-1.5-OpenSSH_2.3.0 green@FreeBSD.org 20010321 debug: Waiting for server public key. debug: Received server public key (768 bits) and host key (1024 bits). debug: Host 'ns2' is known and matches the RSA host key. debug: Encryption type: 3des debug: Sent encrypted session key. debug: Installing crc compensation attack detector. debug: Received encrypted confirmation. debug: Bad key file /home/wash/.ssh/identity. debug: Doing password authentication. wash@ns2's password: # -Wash -- Odhiambo Washington Wananchi Online Ltd., wash@wananchi.com 1st Flr Loita Hse. Tel: 254 2 313985 Loita Street., Fax: 254 2 313922 PO Box 10286,00100-NAIROBI,KE. Computers are useless. They can only give you answers.=20 -Pablo Picasso=20 --rMWmSaSbD7nr+du9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7lLE1n7LIsuxjem8RAtQYAJ4/OZyjfjVNbGjET1H2bZd5SqW7AwCghcWY plPOTZr39cohEaPi9LTMZOY= =b9sC -----END PGP SIGNATURE----- --rMWmSaSbD7nr+du9-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message