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