Profile
LINEARJUN

2019.10.01

Visual Studio Code에서 Remote-SSH 문제

조회 수 751 추천 수 0

 Visual Studio Code에서 Remote-SSH 문제 연결 시 "Opening Remote..." 단계에서 진행되지 않는 문제

 

 

이 문제를 해결하려면, "/etc/ssh/sshd_config" 파일에서 "AllowTCPForwarding" 설정을 yes로 바꾸면 된다고 합니다.

 

이후, 서비스를 재시작해야 하는데,

 

// Restart openssh-server on your Synology NAS from commandline.

$ synoservicectl --restart sshd

 

서비스가 그냥 죽어버립니다. ^^;

 

할 수 없이 Synology DiskStation에 접속해 ssh 서버를 다시 살린 후, Visual Studio Code로 접속을 했더니 이번엔 콘솔 창에 다음의 메시지가 뜹니다.

 

Connected to SSH Host - Please do not close this terminal


그래도 뭔가 진행은 되었고 터미널 창으로의 변경도 잘 되었습니다. 혹시나 싶어 다시 진단 옵션(remote.SSH.showLoginTerminal)을 제거했는데,
 

// Place your settings in this file to overwrite the default settings
{
    "editor.fontFamily": "Malgun Gothic",
    "window.zoomLevel": 0,
    "terminal.integrated.fontFamily": "Consolas",
    "terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\cmd.exe",
}

 

 이후에는 아무런 문제 없이 이전처럼 "Remote-SSH" 연결이 잘 동작했습니다.

Profile
30
Lv

1개의 댓글

Profile
James
2021.10.25

Hey! Vsauce here. Now, where are your fingers?

 

Profile
번호 제목 글쓴이 날짜 조회 수
12 TwoVoice Prototye Demo profile LINEARJUN 2019.06.04 304
11 christmas page 열어줘요 어디에 있나요 1 fkaus567@gmail.com 2019.09.11 332
Visual Studio Code에서 Remote-SSH 문제 1 profile LINEARJUN 2019.10.01 751
9 등업부탁드려요~~ profile 머봉이 2019.10.02 294
8 BFS BRING ME HERE!! 1 profile 머봉이 2019.10.02 325
7 시놀로지 GCC 설치 1 profile LINEARJUN 2019.10.28 556
6 vscode c, c++ 컴파일 세팅 김준땡 2019.10.28 298
5 유니티 최적화 팁 - 퍼옴 6 profile LINEARJUN 2019.11.10 582
4 The definition of Love. 1 Anonymous 2020.11.13 1492
3 이거 보셈 5 익명 2022.03.14 294
2 돈 모아서 차 한대 뽑았습니다 ^^ 2 profile LINEARJUN 2022.03.14 299
1 사이트 주인장은 보시오 2 profile 머봉이 2022.04.13 326