having issues with my powershell.
PS C:\Users\steve> ssh -i “CCS625.pem” ec2-user@ec2-44-204-220-130.compute-1.amazonaws.com
Warning: Identity file CCS625.pem not accessible: No such file or directory.
ec2-user@ec2-44-204-220-130.compute-1.amazonaws.com: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
PS C:\Users\steve>
Does folder C:\Users\steve
contain file CCS625.pem
?
Yes it does contain the file
If the file is there, then why does the ssh fail to see it?
Have you tried with CMD – i.e. is this a PowerShell-specific issue?
Either way, this is neither Rocky nor Amazon issue, since problem occurs in your PC.
The “Permission denied” seems a logical consequence – you try to authenticate without publickey.
So how would I authenticate a public key so that I can gain access
this is the problem I have the file saved in the downloads, but when I try to open it up with PowerShell, it doesn’t let me.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.