Why public key authentication is preferred for automated scripts?

Posted by codeholic on Stack Overflow See other posts from Stack Overflow or by codeholic
Published on 2010-03-25T18:25:16Z Indexed on 2010/03/25 18:33 UTC
Read the original article Hit count: 305

Filed under:
|

I found the following claim in the documentation for Net::OpenSSH:

Note that using password authentication in automated scripts is a very bad idea. When possible, you should use public key authentication instead.

What's flawed in using password authentication in automated scripts?

© Stack Overflow or respective owner

Related posts about ssh

Related posts about authentication