Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Sep 2001 11:43:09 +0300
From:      Odhiambo Washington <wash@wananchi.com>
To:        Stephen Hurd <deuce@lordlegacy.org>
Cc:        FBSD-Q <freebsd-questions@freebsd.org>
Subject:   Re: SSH Password Authentication...
Message-ID:  <20010912114309.K6733@ns2.wananchi.com>
In-Reply-To: <NFBBJPHLGLNJEEECOCHAEEMNCCAA.deuce@lordlegacy.org>
References:  <IAEKKLIOEBMAKJIIGEBBKEJGCDAA.ecrim@earthlink.net> <NFBBJPHLGLNJEEECOCHAEEMNCCAA.deuce@lordlegacy.org>

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

[-- Attachment #1 --]
* Stephen Hurd <deuce@lordlegacy.org> [20010912 06:06]: writing on the subject 'RE: SSH Password Authentication...'
| > Hello, I wish to setup a small script where it ssh's to another machine, and
| > then that script input's the password.  How can I go about accomplishing
| > this, or if someone's nice, can you write one up?  Baiscally, a script that
| > will ssh to a box, and "type" in the password automatically.  Thanks
| 
| that's not really allowed... it could be done, but it would be a kludge...
| however, it may not be necessary:
| 
|      The public key method is similar to RSA authentication described in the
|      previous section except that the DSA algorithm is used instead of the
|      patented RSA algorithm.  The client uses his private DSA key
|      $HOME/.ssh/id_dsa to sign the session identifier and sends the result to
|      the server.  The server checks whether the matching public key is listed
|      in $HOME/.ssh/authorized_keys2 and grants access if both the key is found
|      and the signature is correct.  The session identifier is derived from a
|      shared Diffie-Hellman value and is only known to the client and the serv-
|      er.


This works for others, but ++NEVER++ worked for me.
I did everything according to these man pages but ssh still prompts me for a passwd.
I've heard of situations where something works for others, and not for others ;-)


-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.

Don't ask me any questions, because I just might tell you the truth. 

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE7nyAdn7LIsuxjem8RAvOKAKCgpG6yApeIfHfOwyTguIo4LTCd3ACeKOMb
Dd913LTFXomcj6ijlARhN/o=
=8cqH
-----END PGP SIGNATURE-----
help

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