Notepad++ NppFTP plugin fails to connect via SFTP

前端 未结 6 618
执念已碎
执念已碎 2020-12-28 14:17

So, i\'ve been having this problem for a while now.

Notepad++ NppFTP plugin fails to connect to server via SFTP with \"[SFTP] Error during authentication: Invalid p

6条回答
  •  我在风中等你
    2020-12-28 14:26

    The solution for me was to use puttygen to export a .ppk version of my private key to OpenSSH as follows:

    1. Open PuttyGen
    2. Menu: Conversion -> Export OpenSSH key
    3. Save your new key (don't forget to make it clear it is openssh)

    This was weird seeing as my .ppk was converted from a private key generated by OpenSSH itself.

    I think it has to do with the fact that my original key starts with

    ---- BEGIN SSH2 ENCRYPTED PRIVATE KEY ----
    

    whereas the exported key starts with

    -----BEGIN RSA PRIVATE KEY-----
    

提交回复
热议问题