February 2, 2017

[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
    Post a Comment

    Featured Post

    Payara Server – Robust, Reliable, Supported

    Payara Server is an open source application server derived from GlassFish, with an option of 24/7 Production and Migration & Project Sup...