Notepad++ NppFTP plugin fails to connect via SFTP

前端 未结 6 580
执念已碎
执念已碎 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:39

    Log-in to your terminal. Make sure you are in /home/your_user_name/

    First client private/public key

    $ ssh-keygen -t rsa

    1. Press Enter to choose default directory
    2. You may choose a pass phrase here depending upon situation.

    Now add your public rsa key details to authorized keys, use the following command

    $ cat id_rsa.pub >> ~/.ssh/authorized_keys

    $ chmod 600 ~/.ssh/authorized_keys

    After this delete the id_rsa.pub file if you wish.

    Now the private key file id_rsa is the one you need to 'import'.

    You need the tool called the puttygen to import this file and then
    click on the Menu Bar -> Conversions -> Export OpenSSH Key and save the exported file.

    Save it as npp.ppk (maybe) and then use this in the Notepad++ Private key file path.

提交回复
热议问题