Created
March 6, 2017 22:42
-
-
Save j1cs/b8810fb5a8445b2f7a3ef6355fb5347e to your computer and use it in GitHub Desktop.
ssh server bashrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh-add -l |grep -q `ssh-keygen -lf /home/user/.ssh/keys/server | awk '{print $2}'` || ssh-add /home/user/.ssh/keys/server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment