Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

WARNING: UNPROTECTED PRIVATE KEY FILE!

sudo chmod -R 700 file_name.key
Comment

WARNING: UNPROTECTED PRIVATE KEY FILE!

sudo chmod -R 700 your-key.pem
Comment

Unprotected private key file

sudo chmod 600 ~/.ssh/<your key's name>
Comment

@ WARNING: UNPROTECTED PRIVATE KEY FILE! @

chmod 600 ~/.ssh/file.pem
Comment

Error: Unprotected private key file

Mac - [ec2-user ~]$ chmod 0400 .ssh/my_private_key.pem
Windows - https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesConnecting.html#troubleshoot-unprotected-key
Comment

Unprotected private key file

cp <path to your key> ~/.ssh/<name of your key>
Comment

Unprotected private key file

ssh -i ~/.ssh/<name of your key> <username>@<ip address>
Comment

PREVIOUS NEXT
Code Example
Shell :: Please install mariadb package manually 
Shell :: kde vs gnome vs xfce 
Shell :: linux format disk fat32 
Shell :: start nginx mac 
Shell :: Copy directory from local host to remote server 
Shell :: xcrun: error: invalid active developer path 
Shell :: There is 1 zombie process 
Shell :: add group linux 
Shell :: git push branch to remote 
Shell :: vieuw the MOTD linux 
Shell :: copy one file content to another in linux 
Shell :: gitignore folder 
Shell :: linux curl upload file ftp 
Shell :: bashrc sleep command 
Shell :: how to see ip in linux 
Shell :: Wine Mono is not installed 
Shell :: git pull not taking latest changes 
Shell :: github to colab 
Shell :: git ignore all files and folders in folder 
Shell :: writing to a text file in batch script 
Shell :: cuda 10 install pytorch 
Shell :: bash replace specific line in file 
Shell :: umask 
Shell :: linux repeat command every 5 minutes 
Shell :: cat meaning linux 
Shell :: nvm change version 
Shell :: sudo apt update not working 
Shell :: online c compiler with working fork 
Shell :: mac install gensim 
Shell :: how to Add new commit to the existing Git tag 
ADD CONTENT
Topic
Content
Source link
Name
4+3 =