daily pastebin goal
65%
SHARE
TWEET

Untitled

a guest Jan 23rd, 2019 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [ssh]
  2. $ ssh-keygen
  3. $ ssh ubuntu@10.0.3.142 mkdir -p .ssh
  4. $ cat .ssh/id_rsa.pub | ssh ubuntu@10.0.3.142 "cat >> .ssh/authorized_keys"
  5.  
  6. $ ssh -i .ssh/mykey.pem ubuntu@10.0.3.142
  7.  
  8. [scp]
  9. $ scp .ssh/id_rsa.pub ubuntu@10.0.3.142:/home/ubuntu/.ssh/authorized_keys
  10. $ scp -i mykey.pem mylogin@54.7.61.201:/home/mylogin/backup.tar.gz ./backups/january/
  11.  
  12. [ps]
  13. $ ps -ef | grep init
  14. $ 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. OK, I Understand
 
Top