An Azure service that is used to provision Windows and Linux virtual machines.
Thanks @Anonymous ,
I swapped over to bash shell (git) and it worked. That's good enough.
Appreciate the help.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
A while back, I set up an Ubuntu VM.
During that setup, I downloaded a PEM file.
I was not able to log in with it and gave up in frustration.
I thought I'd try again, but now I cannot even find the PEM file.
How do I get from here, to a working SSH session on the VM?
An Azure service that is used to provision Windows and Linux virtual machines.
Thanks @Anonymous ,
I swapped over to bash shell (git) and it worked. That's good enough.
Appreciate the help.
Thanks for the link about resetting the key. That seemed to work.
Unable to log in with it though. Here is a snippet of some of the commands that I've been running (using Windows subsystem for Linux):
dave@GOLIATH:/mnt/f/zLoad$ chmod 400 dave.pem
dave@GOLIATH:/mnt/f/zLoad$ ssh -i ./dave.pem [email protected]
The authenticity of host '23.99.182.143 (23.99.182.143)' can't be established.
ECDSA key fingerprint is SHA256:wSrOHkd9jlCIfcAt8lWDbwWPu90RsXhgFA9N2T/2byQ.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '23.99.182.143' (ECDSA) to the list of known hosts.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0555 for './dave.pem' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
Load key "./dave.pem": bad permissions
[email protected]: Permission denied (publickey).
dave@GOLIATH:/mnt/f/zLoad$ ls -la dave.pem
-r-xr-xr-x 1 dave dave 3243 Feb 16 14:08 dave.pem
dave@GOLIATH:/mnt/f/zLoad$ chmod 400 dave.pem
dave@GOLIATH:/mnt/f/zLoad$ ssh -i ./dave.pem [email protected]
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0555 for './dave.pem' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
Load key "./dave.pem": bad permissions
[email protected]: Permission denied (publickey).
dave@GOLIATH:/mnt/f/zLoad$ ls -la dave.pem
-r-xr-xr-x 1 dave dave 3243 Feb 16 14:08 dave.pem
dave@GOLIATH:/mnt/f/zLoad$ ssh -i ./dave.pem [email protected]
[email protected]: Permission denied (publickey).
dave@GOLIATH:/mnt/f/zLoad$ ssh -i ./dave.pem [email protected]
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0555 for './dave.pem' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
Load key "./dave.pem": bad permissions
[email protected]: Permission denied (publickey).
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more