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
Sometimes the easiest option is to give someone a key to your instance and revoke it after they are done. | |
We create a key pair, put the public key on the server, give them the private key. | |
To create the key pair for suzy, | |
cd ~/.ssh | |
ssh-keygen -b 1024 -f suzy -t dsa | |
cat suzy.pub >> authorized_keys | |
cat suzy | |
rm suzy* |