Advertisement
lamiastella

chmod 400 .pem

Sep 17th, 2017
549
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.02 KB | None | 0 0
  1. [jalal@csa2 ~]$ ssh -i Mona_hcomp.pem ubuntu@ec2-34-214-87-187.us-west-2.compute.amazonaws.com
  2. The authenticity of host 'ec2-34-214-87-187.us-west-2.compute.amazonaws.com (34.214.87.187)' can't be established.
  3. ECDSA key fingerprint is SHA256:o/4ids1iAbtK5xwDRECSYMpCs0HwGVHYQEvQFFz+Q0s.
  4. ECDSA key fingerprint is MD5:12:e3:77:9f:85:f2:93:2e:be:a1:92:30:0d:e3:44:8b.
  5. Are you sure you want to continue connecting (yes/no)? yes
  6. Warning: Permanently added 'ec2-34-214-87-187.us-west-2.compute.amazonaws.com,34.214.87.187' (ECDSA) to the list of known hosts.
  7. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  8. @ WARNING: UNPROTECTED PRIVATE KEY FILE! @
  9. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  10. Permissions 0644 for 'Mona_hcomp.pem' are too open.
  11. It is required that your private key files are NOT accessible by others.
  12. This private key will be ignored.
  13. Load key "Mona_hcomp.pem": bad permissions
  14. Permission denied (publickey).
  15. [jalal@csa2 ~]$ chmod 400 Mona_hcomp.pem
  16. [jalal@csa2 ~]$ ssh -i Mona_hcomp.pem ubuntu@ec2-34-214-87-187.us-west-2.compute.amazonaws.com
  17. Welcome to Ubuntu 14.04.3 LTS (GNU/Linux 3.13.0-74-generic x86_64)
  18.  
  19. * Documentation: https://help.ubuntu.com/
  20.  
  21. System information as of Fri Sep 1 22:01:33 UTC 2017
  22.  
  23. System load: 0.0 Users logged in: 0
  24. Usage of /: 82.0% of 7.74GB IP address for eth0: 172.31.43.224
  25. Memory usage: 9% IP address for docker0: 172.17.0.1
  26. Swap usage: 0% IP address for br-6549def12059: 172.18.0.1
  27. Processes: 138
  28.  
  29. Graph this data and manage this system at:
  30. https://landscape.canonical.com/
  31.  
  32. Get cloud support with Ubuntu Advantage Cloud Guest:
  33. http://www.ubuntu.com/business/services/cloud
  34.  
  35. 280 packages can be updated.
  36. 207 updates are security updates.
  37.  
  38. New release '16.04.3 LTS' available.
  39. Run 'do-release-upgrade' to upgrade to it.
  40.  
  41.  
  42. You have new mail.
  43. Last login: Fri Sep 1 22:01:33 2017 from dhcp-wifi-8021x-155-41-86-170.bu.edu
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement