UNREACHABLE: Permission denied (publickey). #402
-
Beta Was this translation helpful? Give feedback.
Answered by
VorstrifeEdits
Nov 27, 2023
Replies: 1 comment
-
After playing around with it some more I was able to get it working by:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
VorstrifeEdits
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After playing around with it some more I was able to get it working by:
~/.ssh
directory that contains the private key naming it whatever you wantnano PRIVATEKEYNAME
nano config
) with the argsIdentityFile ~/.ssh/PRIVATEKEYNAME
so it knows to use that file (Make sure you use Identity and not Identify).chmod 600 ~/.ssh/PRIVATEKEYFILE
, or it will give you an error of "unprotected private key file".Hopefully this he…