Re: known_hosts file and public key authentication in ssh
- From: "Richard E. Silverman" <res@xxxxxxxx>
- Date: 17 Jul 2007 23:06:39 -0400
"dyu9999" == dyu9999 <dyu9999@xxxxxxxxx> writes:
dyu9999> Hi, I would appreciate some information.
dyu9999> I am trying to use RSA/DSA key authentication for ssh(scp
dyu9999> etc) so I don't need to type password each time when
dyu9999> transferring files between my host and server machines. I
dyu9999> implemented this in my code. But I noticed that to talk to
dyu9999> the machine and does not have an entry in my known_hosts
dyu9999> file, I still need to hit "yes" manually when the fingerprint
dyu9999> warning prompts up.
dyu9999> Is there a way to make ssh/scp completely work without human
dyu9999> intervention using public key authentication and also bypass
dyu9999> the known_hosts file?
ssh -ostricthostkeychecking=no -oUserKnownHostsFile=/dev/null
Of course, this is insecure; there's a reason for the warning.
--
Richard Silverman
res@xxxxxxxx
.
- References:
- known_hosts file and public key authentication in ssh
- From: dyu9999
- known_hosts file and public key authentication in ssh
- Prev by Date: Re: Reloading host keys without sshd restart
- Next by Date: ssh session hangs after authentication
- Previous by thread: known_hosts file and public key authentication in ssh
- Next by thread: Re: known_hosts file and public key authentication in ssh
- Index(es):
Relevant Pages
|
|