Last active
April 29, 2018 12:07
-
-
Save skyer9/815dd2096941785e5444718281522f70 to your computer and use it in GitHub Desktop.
sftp on ec2 with vscode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. 마켓 플레이스에서 SFTP 다운받기 | |
2. ctrl+shift+p 를 누른 후, sftp: config 를 입력한다. | |
3. 설정을 아래와 같이 수정한다. | |
{ | |
"context": "./sftp/searver_a", | |
"protocol": "sftp", | |
"host": "13.XXX.42.109", | |
"username": "ec2-user", | |
"privateKeyPath": "D:\\aws\\XXXXXX.pem", | |
"uploadOnSave": true, | |
"remotePath": "./" | |
} | |
4. AWS 콘솔에서 PC 의 22번 포트를 열어준다. | |
5. ctrl+shift+p 를 누른 후, sftp: list 를 입력한다. | |
6. 파일을 연다. | |
7. PC 에서 저장할 때 서버에 반영되는 것을 확인할 수 있다. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment