Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##SSH
- if [ ! -S ~/.ssh/ssh_auth_sock ]; then
- eval `ssh-agent`
- ln -sf "$SSH_AUTH_SOCK" ~/.ssh/ssh_auth_sock
- fi
- export SSH_AUTH_SOCK=~/.ssh/ssh_auth_sock
- ssh-add -l > /dev/null || ssh-add
- //client
- ssh-add ~/my/id_rsa
Add Comment
Please, Sign In to add comment