SHARE
TWEET

Untitled




Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- [ssh]
- $ ssh-keygen
- $ ssh ubuntu@10.0.3.142 mkdir -p .ssh
- $ cat .ssh/id_rsa.pub | ssh ubuntu@10.0.3.142 "cat >> .ssh/authorized_keys"
- $ ssh -i .ssh/mykey.pem ubuntu@10.0.3.142
- [scp]
- $ scp .ssh/id_rsa.pub ubuntu@10.0.3.142:/home/ubuntu/.ssh/authorized_keys
- $ scp -i mykey.pem mylogin@54.7.61.201:/home/mylogin/backup.tar.gz ./backups/january/
- [ps]
- $ ps -ef | grep init
- $ pstree -p
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.