Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Sep 2001 13:47:17 +0300
From:      Odhiambo Washington <wash@wananchi.com>
To:        Ceri <ceri@techsupport.co.uk>
Cc:        FBSD-Q <freebsd-questions@freebsd.org>
Subject:   Re: SSH and connection automation
Message-ID:  <20010904134717.J30499@ns2.wananchi.com>
In-Reply-To: <20010904114259.A5560@cartman.private.techsupport.co.uk>
References:  <20010903171657.A31458@ns2.wananchi.com> <20010903130118.D4A5C59D8@mark9.vladsempire.net> <20010904133449.H30499@ns2.wananchi.com> <20010904114259.A5560@cartman.private.techsupport.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

--rMWmSaSbD7nr+du9
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Ceri <ceri@techsupport.co.uk> [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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010904134717.J30499>