vs code 기반 SSH server 접속

1. vs code 설치

sudo apt-get update
sudo apt-get install code

 2. vs code extension 추가

3. config 파일 변경

crtl + shift + p or F1

Remote-SSH: Open SSH configuration File 클릭

이후 파일 클릭

4. 파일 구성 변경

Host {IP 주소}
    HostName {IP 주소 또는 접속하고자 하는 주소}
    User {user}
    IdentityFile {.ssh/id_ed000 본인 개인키 주소}
	Port {22일 경우 생략 가능}


5. 원격 서버 접속