a guest Jan 23rd, 2019 92 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- $ ssh-keygen
- $ ssh email@example.com mkdir -p .ssh
- $ cat .ssh/id_rsa.pub | ssh firstname.lastname@example.org "cat >> .ssh/authorized_keys"
- $ ssh -i .ssh/mykey.pem email@example.com
- $ scp .ssh/id_rsa.pub firstname.lastname@example.org:/home/ubuntu/.ssh/authorized_keys
- $ scp -i mykey.pem email@example.com:/home/mylogin/backup.tar.gz ./backups/january/
- $ ps -ef | grep init
- $ pstree -p
RAW Paste Data