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>
next in thread | previous in thread | raw e-mail | index | archive | help
--DocE+STaALJfprDB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Stephen Hurd <deuce@lordlegacy.org> [20010912 06:06]: writing on the subj= ect '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 |=20 | that's not really allowed... it could be done, but it would be a kludge... | however, it may not be necessary: |=20 | 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 resul= t to | the server. The server checks whether the matching public key is li= sted | in $HOME/.ssh/authorized_keys2 and grants access if both the key is = found | and the signature is correct. The session identifier is derived fro= m 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 othe= rs ;-) -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.=20 --DocE+STaALJfprDB 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 iD8DBQE7nyAdn7LIsuxjem8RAvOKAKCgpG6yApeIfHfOwyTguIo4LTCd3ACeKOMb Dd913LTFXomcj6ijlARhN/o= =8cqH -----END PGP SIGNATURE----- --DocE+STaALJfprDB-- 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?20010912114309.K6733>