How to NppFTP with SSH key?

1

1

I created a profile with the next options

Connection:

  • Hostname: ftp.example.com
  • Connection Type: SFTP
  • Port: 22
  • Username: wwwexample
  • Password: ******
  • Ask for password: no

Authentication:

  • Try private key file authentication: yes
  • Try password key authentication: no
  • Try keyboard interactive authentication: no

  • Private key file: D:\WORK\EXAMPLE\KEYS\wwwexample.ppk

  • Passphrase: ************
  • Ask every time: no

When I try to connect, NppFTP just says connecting and then disconnected. I created the private key with Puttygen, the same key I use for Fillezilla with Pageant (which works).

mikl

Posted 2016-02-22T16:11:40.730

Reputation: 153

3Speculative idea: Maybe use PuTTYGen to convert that PPK file to the more widely-supported OpenSSH key format? – TOOGAM – 2016-02-22T16:18:22.883

You are right, I did what you said and it worked – mikl – 2016-02-22T16:49:38.513

Answers

2

Stolen from a comment by @TOOGAM

"Use PuTTYGen to convert that PPK file to the more widely-supported OpenSSH key format."

  1. Open the current SSH private key in PuTTYGen
  2. File menu "Conversion"
  3. Convert to OpenSSH (first option)
  4. Done.

Essonworks

Posted 2016-02-22T16:11:40.730

Reputation: 36

0

Use the *.pem file with this format:

-----BEGIN RSA PRIVATE KEY-----
56767567567jhfhfhfghfgghf5464bdf546/56//56565656566fghr656546546546546546546
..
..
-----END RSA PRIVATE KEY-----

user673788

Posted 2016-02-22T16:11:40.730

Reputation: 1