Cannot change file permission after chmod 400
try sudo chmod 400 file name or change file location to different place
try sudo chmod 400 file name or change file location to different place
Pull rsync -avhe ‘ssh -i taclogisticsnewcom.pem’ [email protected]:/home/tacportal/web/portal.taclogistics.net/public_html/application/config/tacportal_db.sql . push rsync -avhe ‘ssh -i taclogisticsnewcom.pem’ tacportal_db.sql [email protected]:/home/centos/
Error: rsync – mkstemp failed: Permission denied (13) cause: wrong permission where you want to upload file solution: make sure you have the right permission for the user with which you are uploading the file to the instance rsync -avhe ‘ssh -i taclogisticsnewcom.pem’ rsync -avhe ‘ssh -i taclogisticsnewcom.pem’ tacportal_db.sql [email protected]:/home/centos/ here the user is centos and … Read more
login to aws portal and then go to key pairs and then select the key to view the fingerprint of the key now to match with the key that you have on the system just do execute this command in the terminal where you have stored the key openssl pkcs8 -in path_to_private_key -inform PEM -outform … Read more
How to get: SHA256 hash of an existing key?Something like this: SHA256:3VvabBNtRF0XEpYRFnIrhHX6tKZq/vzU+heb3dCYp+0 [email protected] MD5 (is it MD5?) of an existing key?Something like this: b6:bf:18:b8:72:83:b7:fb:7d:08:98:72:1f:9f:05:27 Randomart for an existing key?Something like this: Install openssh and openssl packages which contain the commands. # get the SHA256 and ascii art ssh-keygen -l -v -f /path/to/publickey# get the MD5 for private keyopenssl pkey -in /path/to/privatekey … Read more
https://aws.amazon.com/premiumsupport/knowledge-center/recover-access-lost-key-pair/ https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html#replacing-lost-key-pair 1. write down the instance ID, AMI ID, & Availability zone of the original instance In the root device field, take note of the device name for the root volume(for example /dev/sda1 or /dev/xvda). choose the link & write down the volume ID in the EBS ID field(vol -XXXXXXXXX) Note: Availability zoneInstance IDelastic … Read more