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 :: awk if column greater than 
Shell :: pacman corrupted package 
Shell :: heroku push alternative branch 
Shell :: make error readline/readline.h 
Shell :: scp local to ssh aws 
Shell :: fix node gyp issue on linux 
Shell :: ubuntu uninstall composer 
Shell :: docker compose up from another file 
Shell :: create a new github repository 
Shell :: bash remove first and last quotes 
Shell :: split large file 
Shell :: bash parse arguments 
Shell :: how to check ssh version 
Shell :: add stetho plugin ionic 
Shell :: linux guzzlehttp/psr7 
Shell :: qemu download mac 
Shell :: compress folder pigz 
Shell :: command line make file 
Shell :: install apk adb 
Shell :: Merge Remote Repository With Local Repository in git command 
Shell :: install jenkins on ubuntu 20.04 
Shell :: check for remote added git 
Shell :: grep capture group 
Shell :: ubuntu windows root directory 
Shell :: bash convert seconds to date 
Shell :: Git config --list to list all the settings 
Shell :: how to compare files in terminal 
Shell :: adobe photoshop on linux ubuntu 
Shell :: ps command 
Shell :: vite js install 
ADD CONTENT
Topic
Content
Source link
Name
1+9 =