gulp-sftp icon indicating copy to clipboard operation
gulp-sftp copied to clipboard

Cannot parse privateKey: Unsupported key format

Open christoshrousis opened this issue 9 years ago • 6 comments

Just wanted to confirm whether .ppk putty keys are not supported in windows, or if I'm doing something wrong.

Cheers.

christoshrousis avatar Oct 27 '15 00:10 christoshrousis

@christoshrousis if it's using the ssh2 library (I think it is) you'll want to export your putty key to OpenSSH format.

davedash avatar Dec 10 '15 00:12 davedash

Thanks @davedash - I converted my Puttykey to a OpenSSH key using puttyGen... Except now I am receiving the same error as issue #49

To anyone else who reads this that is on windows, I also had to set a timeout value in gulp sftp.

christoshrousis avatar Aug 10 '16 16:08 christoshrousis

+1

williansmartins avatar Mar 08 '17 16:03 williansmartins

@christoshrousis nothing yet?

williansmartins avatar Mar 08 '17 21:03 williansmartins

@williansmartins No Sorry, I ended up ditching this and using sublime SFTP plugin instead which support putty straight up as well.

PR's #23 and #48 might be related, so If I was you I would download the codebase, add the pull requests directly into you copy and see if it fixes your problems.

christoshrousis avatar Mar 08 '17 21:03 christoshrousis

tks @christoshrousis

williansmartins avatar Mar 14 '17 17:03 williansmartins