WARNING: Another way to achieve password-less logins is to use an unencrypted private key with no passphrase. Although this technique can be appropriate for automation purposes, never do this for interactive use. Instead, use the SSH agent, which provides the same benefits with much greater security. Don't use unencrypted keys for interactive SSH!On the other hand, noninteractive, unattended programs such as cron jobs or batch scripts may also benefit from not having a password or passphrase. In this case, the different techniques raise some complex issues, and we will discuss their relative merits and security issues later. [Section 11.1, "Unattended SSH: Batch or cron Jobs"]
2.5. The SSH Agent | 2.7. Miscellaneous Clients |
Copyright © 2002 O'Reilly & Associates. All rights reserved.