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

后端 未结 2 512
旧时难觅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:08

    Put your private key in following path: C:\Users\USER\AppData\Local\atom\app-1.30.0

    Replace USER. It seems it looks in this folder for the keys.

    0 讨论(0)
  • 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.

    0 讨论(0)
提交回复
热议问题