Tip of the Day - SSH Keys and Mac OS X Leopard

Posted by Ben Allen Sat, 19 Jan 2008 03:09:00 GMT

Create a standard SSH keypair by using the ssh-keygen command. When prompted for a passphrase enter one. Copy your ~/.ssh/id_rsa.pub to your destination's authorized_keys file. Now login to your destination from the Terminal with ssh. You will be pleasantly surprised with a pop-up box asking for the password associated with the id_rsa SSH key. It gives you the option to store this password in your Leopard keychain if you wish. This effectively takes place of using a ssh-agent to store SSH keys. SSH Key Password Prompt

Trackbacks

Use the following link to trackback from your own site:
http://www.sysadminschronicles.com/trackbacks?article_id=tip-of-the-day-ssh-keys-and-mac-os-x-leopard&day=18&month=01&year=2008

Comments

Leave a comment

Comments