[오류Error] VS Code Remote-SSH: "원격 호스트가 VS Code Server를 실행하기 위한 필수 구성 요소를 충족하지 않습니다" 오류 해결 후기

2025. 4. 11. 11:55·오류Error
728x90
반응형

could not establish connection to "서버ip": the remote host does not meet the prerequisites for running vs code server.

 

2시간 30분 삽질 완료^^

그래도 해결했으니 진짜 다행...........

 

문제 상황

오늘 출근해서 VS Code에서 Remote - SSH 기능을 사용하려고 했는데,
SSH로는 접속이 잘 되는데도 불구하고 아래와 같은 에러 메시지가 반복적으로 발생하였음.

(분명 어제까지는 멀쩡하게 접속이 되었단 말이지.ㅠㅠㅠ)

"원격 호스트가 VS Code Server를 실행하기 위한 필수 구성 요소를 충족하지 않습니다."

 

나의 환경

로컬 OS: macOS Sonoma 14.4.1 (Darwin x64 23.5.0, Apple Silicon)

로컬 VS Code 버전: 1.99.2 (최신 버전)

서버 OS: Ubuntu 18.04 LTS (glibc: 2.27 / Node.js: v14.16.0)

시도했던 해결 방법들 (실패)

  • /etc/hosts 정리
  • 환경 변수 / 프록시 확인
  • .zshrc / .bashrc 초기화
  • known_hosts 삭제
  • VS Code 초기화 & 재설치
  • settings.json 수동 생성
  • Remote-SSH 확장 재설치

→ 모두 실패.
원인은 glibc 2.27 환경에서 VS Code 최신 버전이 원격 서버 환경을 차단하기 때문.

 

최종 해결 방법

결론부터 말하자면, "VS Code 버전 다운그레이드 + 자동 업데이트 비활성화"가 답이었습니다.


해결 순서 정리

1. VS Code 1.85.1 버전 설치 (기존에 설치 되어있는 Vs Code는 제거해주었음)

# 기존 VS Code 삭제
sudo rm -rf /Applications/Visual\ Studio\ Code.app

🔗 다운로드 링크 (VS Code 1.85.1)

2. 업데이트 모드 끄기 (처음에 이거 안했더니 자동 업데이트 되서 다시 설치함^^)

VS Code 실행 → Cmd + , → "업데이트" 검색 → 응용 프로그램 > 업데이트 모드: "none" 으로 설정

3. 확장 프로그램에서 Remote - SSH 를 제거 후 다시 설치 

4. 서버 접속 완료

 


참고

 

The remote host may not meet vs code server's prerequisites for glibc and libstdc++ vscod

I was working on the host server. Everything was great till yesterday and today when I start my server, suddenly error occurs in VS code. And my server is not connecting anymore. What should I do? ...

stackoverflow.com

 

 

The remote host may not meet VS Code Server's prerequisites for glibc and libstdc++ · Issue #9501 · microsoft/vscode-remote-re

There was no problem with remote SSH until 3 days ago. Now I'm getting the following error and I can't connect to the server The remote host may not meet VS Code Server's prerequisites for glibc an...

github.com

 

728x90
반응형
저작자표시 (새창열림)

'오류Error' 카테고리의 다른 글

[오류Error] RateLimitError: Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-erro  (0) 2025.06.10
[오류Error] Failed to start project studioError invoking remote method 'up': Error: Docker not installed or not running: ExecaError: Command failed with exit code 1: which docker  (0) 2025.04.18
[오류Error] Resource punkt_tab not found. Please use the NLTK Downloader to obtain the resource:  (0) 2024.11.22
[오류Error] FileNotFoundError: [Errno 2] JVM DLL not found: /Library/Java/JavaVirtualMachines/microsoft-11.jdk/Contents/Home/lib/jli/libjli.dylib"  (1) 2024.11.15
[오류Error] RuntimeError: Input type (torch.cuda.FloatTensor) and weight type (torch.FloatTensor) should be the same  (0) 2024.04.17
'오류Error' 카테고리의 다른 글
  • [오류Error] RateLimitError: Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-erro
  • [오류Error] Failed to start project studioError invoking remote method 'up': Error: Docker not installed or not running: ExecaError: Command failed with exit code 1: which docker
  • [오류Error] Resource punkt_tab not found. Please use the NLTK Downloader to obtain the resource:
  • [오류Error] FileNotFoundError: [Errno 2] JVM DLL not found: /Library/Java/JavaVirtualMachines/microsoft-11.jdk/Contents/Home/lib/jli/libjli.dylib"
ISFP의 블로그
ISFP의 블로그
이건 첫 번째 레슨, 업무에서 마주친 문제 해결 경험 공유하기 이건 두 번째 레슨, 개인적으로 공부한 데이터/AI 지식을 기록하기 이건 세 번째 레슨, 다른 사람과 비교하지 말고 오직 어제의 나와 비교하기
  • ISFP의 블로그
    resultofeffort
    ISFP의 블로그
  • 전체
    오늘
    어제
    • 분류 전체보기 (117)
      • python (25)
      • pythonML (27)
      • Linux (0)
      • 오류Error (8)
      • information (7)
      • Deep learning (5)
      • pytorch (29)
      • 코딩테스트 (4)
      • 밑바닥 DL (4)
      • 논문 리뷰 (3)
  • 블로그 메뉴

    • 홈
    • 태그
    • 방명록
  • 링크

  • 공지사항

  • 인기 글

  • 태그

    Pandas
    텍스트전처리
    오블완
    cnn
    자연어처리
    Ai
    nlp
    Deep Learning
    머신러닝
    토큰화
    딥러닝
    데이터분석
    pytorch
    분류
    konlpy
    티스토리챌린지
    Python
    machinelearning
    인공지능
    deeplearning
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.5
ISFP의 블로그
[오류Error] VS Code Remote-SSH: "원격 호스트가 VS Code Server를 실행하기 위한 필수 구성 요소를 충족하지 않습니다" 오류 해결 후기
상단으로

티스토리툴바