Private key file

Advertisement

clueless
Guest

Private key file

Hi, what program does the private key file have to be stored in or does it have to be in a specific location in Windows? I am trying to use a private key file I have saved as .txt is this the correct syntax:

ssh-rsa "AAAAB3NzaC1yc2EAAAABIwAAAIEAph3S2eZXk4ftBi+1/CkMaqah/GsBs4FP
VuJNqy67xbDQ/3zL0jA+2idXJ5DM4wneh9D4HouENFVu5INs3UAOglI/oejxiqeqPRyM2Wcu5LtszherRp2bpOXiHY4P
oqGLbZ471it3mklV/G2B9MxjaSvZUfys/1GyxKy3XSkQYK0="

WInScp is not recognizing the file

also do I just make a vi with this on the corresponding host?

Reply with quote

Advertisement

TS
Guest

Re: Private key file

clueless wrote:

Hi, what program does the private key file have to be stored in or does it have to be in a specific location in Windows?...
WInScp is not recognizing the file

That is in OpenSSH format. WinSCP uses PuTTY, so the private key needs to be in the format PuTTY expects - a .ppk file. You can convert an OpenSSH format to a *.ppk using puttygen available at:
https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

If that really was your private key you just posted, you've essentially given your password to the entire internet so you should obviously throw that one away and make a new one (which, by the way, puttygen can also do).

Reply with quote

Advertisement

You can post new topics in this forum