if you want to get rid of entering the password evry time you login to servers you should follow this post :
If you DON’T have a ~/.bash_profile (a file that gets executed every time you start cygwin):
If you DON’T have a ~/.bash_profile (a file that gets executed every time you start cygwin):
touch ~/.bash_profile chmod a+x ~/.bash_profileNow that you have the file, add this to it:
SSHAGENT=/usr/bin/ssh-agent SSHAGENTARGS="-s" if [ -z "$SSH_AUTH_SOCK" -a -x "$SSHAGENT" ]; then eval `$SSHAGENT $SSHAGENTARGS` trap "kill $SSH_AGENT_PID" 0 fiThis will start up ssh-agent for each Cygwin shell you have open. Close your Cygwin shell (if one is open) and open a new one. Now type:
ssh-add ~/.ssh/id_rsa [enter your password]That 's it..you dont have to enter password anymore albeit for this window. every time you open a new window you need to do the last step to say the ssh-add to remember the password...
No comments:
Post a Comment