Answer the question
In order to leave comments, you need to log in
Where is it more correct to run ssh-agent?
Guys, tell me, pls. Where is it more correct to start ssh-agent and how to add the necessary key to the system during its startup. I add this script:
#start-ssh
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/mykey
Answer the question
In order to leave comments, you need to log in
Why add the key each time at system startup... generate once and it will be added to /home/user/.ssh/
And ssh agent starts automatically...
ps -ef | grep ssh
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question