Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ssh -i sentiment.pem Todo@54.555.555.555
- scp Todo@54.555.555.555:/home/ubuntu/sentimentfolder /Users/Toga/Desktop/sentimentlocal
- WARNING: UNPROTECTED PRIVATE KEY FILE!
- Permissions 0644 for 'sentiment.pem' are too open.
- It is recommended that your private key files are NOT accessible by others.
- This private key will be ignored.
- bad permissions: ignore key: sentiment.pem
- Permission denied (publickey).
- WARNING: UNPROTECTED PRIVATE KEY FILE!
- Permissions 0660 for 'sentiment.pem' are too open.
- It is recommended that your private key files are NOT accessible by others.
- This private key will be ignored.
- bad permissions: ignore key: sentiment.pem
- Permission denied (publickey).
- scp Todo@54.555.555.555:/home/ubuntu/sentimentfolder /Users/Toga/Desktop/sentimentlocal
- Permission denied (publickey).
- # mkdir -p ~/.ssh
- # mv ~/Downloads/ec2private.pem ~/.ssh
- # chmod 400 ~/.ssh/ec2private.pem
- # vim ~/.ssh/config
- Host *amazonaws.com
- IdentityFile ~/.ssh/ec2private.pem
- User ec2-user
- # ssh ec2-54-23-23-23-34.example.amazonaws.com
- scp -r -i /Users/Toga/Desktop/rollup/Personal/Serial_Project_Starter/sentiment/sentiment.pem ubuntu@ec2-xx-xx-xx-xx.compute-x.amazonaws.com:~/sentiment /Users/Toga/Desktop/sentimentlocal
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement