[? 문제 발생 과정]
1. VSCODE 왼쪽 하단에 원격 연결 중... 이라는 문구가 뜬 뒤 그 다음 과정으로 넘어가지 않는 현상
(터미널 오류 확인 결과)
[! 문제 해결 과정]
1. https://github.com/microsoft/vscode-remote-release/issues/4683#issuecomment-1059753371
Failed to set up socket for dynamic port forward to remote port 33833 · Issue #4683 · microsoft/vscode-remote-release
I am using remote-ssh to connect to a virtual machine. The connection keeps failing with a failed to set up socket for dynamic port and hangs. Any idea what this error may be? [21:44:34.378] Log Le...
github.com
위의 링크 참조하여 PUTTY 프로그램으로 SSH 접속 후 아래의 사항을 변경 후 저장.
- 터미널에 sudo vi /etc/ssh/sshd_config 입력.
~~~(파일 열리면 여러 항목이 입력되어 있다. 그 중 AllowTcpForwarding을 no에서 yes로 변경)~~~
...
AllowTcpForwarding yes
...
- 수정 완료 후 저장, 다시 터미널 입력 창에서 service ssh restart 입력.
3. 다시 VSCODE 창에서 원격 접속 후 이상없이 접속됨을 확인할 수 있다.
'linux > raspberry 4B' 카테고리의 다른 글
rpi 4 - ubuntu server - cli (기본셋팅) (0) | 2023.04.30 |
---|---|
[OMV6] ImportError: cannot import name ‘Markup’ from ‘jinja2’ 오류 해결 방법 (0) | 2022.08.23 |
[portainer] 'MODULE_NOT_FOUND' 에러 해결 (docker:node) (0) | 2022.08.23 |
OMV6 처음 설치 후 SSH 접속 오류 해결방법(Access denied) (0) | 2022.08.16 |
[nginx] cockpit : ERR_TOO_MANY_REDIRECTS 에러 해결 (0) | 2022.02.11 |