[develop] sublime設定sftp

sublime設定sftp
其中"ssh_key_file": "C:\/darren\/ec2-key\/hatemapkey.ppk"
只能用ppk不能用pem, 轉換方式參考
http://tkoyama1988.hatenablog.com/entry/2014/06/10/180729


{
    // 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,
    "upload_on_save": true,
    "sync_same_age": true,
   
    "host": "xx.xxx.xx.x",
    "user": "ec2-user",
    //"password": "password",
    "port": "22",
   
    "remote_path": "/home/ec2-user/hatemap",
    //"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:\/darren\/ec2-key\/hatemapkey.ppk",
    // "sftp_flags": ["-F", "/path/to/ssh_config"],
    // "sftp_flags": ["-i", "C:\/darren\/ec2-key\/hatemapkey.pem"],
    // "sftp_flags": ["-o IdentityFile=C:\/darren\/ec2-key\/hatemapkey.pem"]
   
    //"preserve_modification_times": false,
    //"remote_time_offset_in_hours": 0,
    //"remote_encoding": "utf-8",
    //"remote_locale": "C",
    //"allow_config_upload": false,
}

留言

這個網誌中的熱門文章

a005: Eva 的回家作業