개발관련/Sublime Text
Sublime Text3 SFTP 설정
rkatk1523
2021. 2. 2. 17:15
- sublime text에서 command + shift + p 키로 Command Palette 열기
- Package Control: Install Package 입력
- 설치후 Command Palette 열어서 sftp 입력
- SFTP: Setup Server 클릭
{
// The tab key will cycle through the settings when first created
// Visit https://codexns.io/products/sftp_for_subime/settings for help
// sftp, ftp or ftps
"type": "sftp",
"sync_down_on_open": true,
"sync_same_age": true,
"host": "example.com", // 연결 도메인 or Ip
"user": "username", // 서버 접속 id
//"password": "password", // 비밀번호
//"port": "22", // 연결 port
"remote_path": "/example/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": "~/.ssh/id_rsa",// 인증서 키파일 위치
//"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,
}
728x90