ssh and ssh-agent

Often one needs to run programs which require typing an SSH key over and over again. You can set things up so that you only need to type it once. This is done by executing

% ssh-add

and then entering ones ssh password. If it complains, it means that the ssh agent is not running. This is often the case if you login remotely. Then one types:

% ssh-agent bash 
% ssh-add

 

Leave a Reply

Your email address will not be published. Required fields are marked *