How do I start an SSH agent?

Trương Duy

New member
How do I start an SSH agent?
Answer
To use ssh-agent and ssh-add , follow the steps below:
  • At the Unix prompt, enter: eval `ssh-agent` Make sure you use the backquote ( ` ), located under the tilde ( ~ ), rather than the single quote ( ‘ ).
  • Enter the command: ssh-add.
  • Enter your private key password.
  • When you log out, enter the command: kill $SSH_AGENT_PID.
 

Tìm kiếm

Back
Top