Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

warning unprotected private key file ec2

sudo chmod 600 /path/to/my/key.pem 
Comment

aws ssh warning unprotected private key file

sudo chmod 600 ~/.ssh/id_rsa
sudo chmod 600 ~/.ssh/id_rsa.pub
Comment

warning unprotected private key file problem on aws instance

add sudo before ssh and then execute
sudo ssh -i "ma.pem" ec2-user@ec2-54-83-120-103.compute-1.amazonaws.com

Comment

PREVIOUS NEXT
Code Example
Shell :: internet not working on centos 8 on linux 
Shell :: hide date from terminal ubuntu 
Shell :: git add removed files 
Shell :: heroku cli 
Shell :: ssh passphrase stop asking 
Shell :: require php mailer 
Shell :: set cmake variable commandline 
Shell :: how to cat a file that has spaces 
Shell :: mysql specify a socket 
Shell :: make directory to be owned by group ubuntu 
Shell :: gitignore 
Shell :: shell variables in unix 
Shell :: zypper install build-essential 
Shell :: docker compose up 
Shell :: update inkscape to new version 
Shell :: download bash 
Shell :: linux zip all folders except one 
Shell :: Install Redis GUI on Ubuntu 20.04 
Shell :: install version 3.9 conda environment 
Shell :: gulp-imagemin 
Shell :: cht sht zsh completion 
Shell :: git change author of last 2 commits 
Shell :: restart terminal without closing 
Shell :: linux alternatives to tree 
Shell :: link to folder ubuntu 
Shell :: create new remote branch 
Shell :: yarn ubuntu 
Shell :: git diff between two repos 
Shell :: Failed to connect to repository : Error performing git command: git ls-remote -h 
Shell :: how to remove a pushed file from git 
ADD CONTENT
Topic
Content
Source link
Name
2+5 =