Json 升华文本sftp rsa私钥

Json 升华文本sftp rsa私钥,json,ssh,key,sublimetext3,Json,Ssh,Key,Sublimetext3,我正在尝试为sublime text设置一个私有rsa密钥,以便像filezilla一样访问ftp。到目前为止,插件stfp/ftp运行良好,但我不知道如何设置访问私有服务器的密钥 下面是我的json文件的一个示例: "type": "sftp", "sync_down_on_open": true, "sync_same_age": true, "host": "example.com", "user": "username", "password": "password", "port"

我正在尝试为sublime text设置一个私有rsa密钥,以便像filezilla一样访问ftp。到目前为止,插件stfp/ftp运行良好,但我不知道如何设置访问私有服务器的密钥

下面是我的json文件的一个示例:

"type": "sftp",

"sync_down_on_open": true,
"sync_same_age": true,

"host": "example.com",
"user": "username",
"password": "password",
"port": "22",

"remote_path": "/example/path/",
//"file_permissions": "664",
//"dir_permissions": "775",

"connect_timeout": 30,

"ssh_key_file": "~/.ssh/id_rsa",
所以问题是这个片段“ssh\u key\u file”:“~/.ssh/id\u rsa”应该可以完成这项工作,但我需要知道:1。我应该把我拥有的文件(key.ppk)和2放在哪里。我还需要别的东西来让它工作吗

提前感谢您的帮助。

这实际上是可行的:

{
    // The tab key will cycle through the settings when first created
    // Visit http://wbond.net/sublime_packages/sftp/settings for help

    // sftp, ftp or ftps
    "type": "sftp",

    "sync_down_on_open": true,
    "sync_same_age": true,

    "host": "111.111.111.11",
    "user": "admin",
    "password": "password",
    "port": "22",

    "remote_path": "/",
    //"file_permissions": "664",
    //"dir_permissions": "775",

    //"extra_list_connections": 0,

    "connect_timeout": 30,
    //"keepalive": 120,
    //"ftp_passive_mode": true,
    //"ftp_obey_passive_host": false,
    "ssh_key_file": "C:/Program Files/Sublime Text 3/mykey.ppk",
    //"sftp_flags": ["-F", "/path/to/ssh_config"],

    //"preserve_modification_times": false,
    //"remote_time_offset_in_hours": 0,
    //"remote_encoding": "utf-8",
    //"remote_locale": "C",
    //"allow_config_upload": false,
}
崇高文本3(V3.2.2)

最后成功地将.ppk文件移动到没有空格的路径

"ssh_key_file": "C:/Users/Me/mykey.ppk"