Last active
August 29, 2015 14:14
-
-
Save Voronenko/e3f8ac01fc23b5b49865 to your computer and use it in GitHub Desktop.
Copy SSH pub key to remote PC for key based login
This file contains hidden or 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
cat .ssh/id_rsa.pub | ssh b@B 'cat >> .ssh/authorized_keys' | |
# ssh -fNg -L 3307:127.0.0.1:3306 b@B |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment