Common threads, OpenSSH key management, Part 2
Introducing ssh-agent and keychain
From the developerWorks archives
Date archived: March 16, 2017 | First published: September 01, 2001
Many developers use the excellent OpenSSH as a secure, encrypted replacement for the venerable telnet and rsh commands. One of OpenSSH's more intriguing features is its ability to authenticate users using the RSA and DSA authentication protocols, which are based upon a pair of complementary numerical "keys". One of the main appeals of RSA and DSA authentication is the promise of being able to establish connections to remote systems without supplying a password. In this second article, Daniel introduces
ssh-agent (a private key cache) and
keychain, a special bash script designed to make key-based authentication incredibly convenient and flexible.
This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some steps and illustrations may have changed.