Oct 17, 2018

[HDGEM] How to start the ssh-agent and load your keys

Open a terminal window and enter the ps -e | grep [s]sh-agent command to see if the agent is running.
$ ps -e | grep [s]sh-agent

  • If the agent isn't running, start it manually with the following command:
    $ ssh-agent /bin/bash
  • Load your new identity into the ssh-agent management program using the ssh-add command.
    $ ssh-add ~/.ssh/id_rsa

  • Use the ssh-add command to list the keys that the agent is managing.
    $ ssh-add -l

  • --
    Posted By Blogger to HDGEM at 2/02/2017 07:43:00 AM