Issue Connection to server using Remote-FTP atom package and Private Keys

后端 未结 2 527
旧时难觅i
旧时难觅i 2021-01-14 05:45

I\'m trying to connect to my server using the atom package \"Remote-FTP\" and using a private key.

I have the SSH keys set up on my server and can connect successful

2条回答
  •  忘掉有多难
    2021-01-14 06:13

    The problem is the backslashes. The .ftpconfig file is in JSON format and slash followed by character has a special meaning. To use your ssh key you just have to escape the slashes. In other words change :

    C:\Users\user\.atom\server\putty_private_key_sbappsupconvrted.ppk

    To :

    C:\\Users\\user\\.atom\\server\\putty_private_key_sbappsupconvrted.ppk

    Then it will work with no issues.

提交回复
热议问题