PuTTY is using different key format than the OpenSSH and OpenSSH is failing to report correctly the errors about unknown format in some versions.
If you want to use the PuTTY key in OpenSSH, you need to convert the private key to OpenSSH format in PuTTYGen (as described on SO):
AT PC:
Open PuttyGen
Click Load
Load your private key
Go to Conversions->Export OpenSSH and export your private key
Save it as ghouseam.ossh
THROUGH FTP:
Copy the above private key to /ppk
AT SERVER (ftp client):
ssh root@206.189.128.155 -i ghouseam-ossh
If you want to use the PuTTY key in OpenSSH, you need to convert the private key to OpenSSH format in PuTTYGen (as described on SO):
AT PC:
Open PuttyGen
Click Load
Load your private key
Go to Conversions->Export OpenSSH and export your private key
Save it as ghouseam.ossh
THROUGH FTP:
Copy the above private key to /ppk
AT SERVER (ftp client):
ssh root@206.189.128.155 -i ghouseam-ossh
No comments:
Post a Comment