Topic "Private key file"

Author Message
clueless

Guest


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?
TS

Guest


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:
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.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).
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License