Changes between Version 33 and Version 34 of HowTo/LoginToNodes


Ignore:
Timestamp:
08/16/12 15:17:03 (12 years ago)
Author:
nriga@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowTo/LoginToNodes

    v33 v34  
    148148
    149149=== Managing SSH Keys ===
    150 Depending on which type of OS You are using, there are ways to make the management of ssh keys and pathphrases simpler.
    151    * '''Mac OS''' comes build in with a program called [http://en.wikipedia.org/wiki/Keychain_(Mac_OS) Keychain] that is a program for managing identities, passwords, etc. The first time that you use your private key to login to a machine, a keychain window will pop-up offering to store your passphrase, if you want to avoid the hustle of typing in your passphrase every time you want to login you should click on that option.
    152    *
     150Depending on which type of OS You are using, there are ways to make the management of ssh keys and pathphrases simpler. In most linux systems there is a program called [http://en.wikipedia.org/wiki/Ssh-agent ssh-agent] that runs automatically when you login and can help you manage your ssh keys so that you don't have to type your passphrase every time you login.
     151   * '''Mac OS''': If you are on OSX Leopard or later, ssh-agent runs automatically for you. It will also integrate with the [http://en.wikipedia.org/wiki/Keychain_(Mac_OS) Keychain] that is a program for managing identities, passwords, etc. The first time that you use your private key to login to a machine, a keychain window will pop-up offering to store your passphrase, if you want to avoid the hustle of typing in your passphrase every time you want to login you should click on that option.
     152   * '''Linux systems''': In most other Linux systems `ssh-agent` should be automatically started for you. If you want to test whether `ssh-agent` runs for you try typing on a terminal: `ssh-add`. If it is running then you can execute the following command:
     153  {{{
     154ssh-add <private_key_filename>
     155}}}
     156    It will ask you for the passphrase once but it won't ask you every time you try to use the key. If the `ssh-agent` is not running you can take a look at [http://mah.everybody.org/docs/ssh these instructions] for how to automatically run it when you login.
    153157
    154158=== Simplify the ssh command ===