InfoGrab Docs

Visual Studio Code

Teleport와 Visual Studio Code의 원격 개발 플러그인을 사용하는 방법

이 가이드는 Teleport와 Visual Studio Code의 원격 SSH 확장을 사용하는 방법을 설명합니다. 작동 방식 # Visual Studio Code Remote - SSH 확장은 로컬 SSH 클라이언트를 사용하여 원격 서버에 접근합니다. Teleport를 사용하여 로컬 SSH 클라이언트에 대한 설정을 생성할 수 있으며, 이 설정은 Teleport가 발급한 OpenSSH 인증서를 사용하여 Teleport로 보호된 Linux 서버에 연결하도록 클라이언트에게 지시합니다. 사전 요구 사항 # A running Teleport cluster. If you want to get started with Teleport, sign up for a free trial or set up a demo environment . The `tsh` client. Installing \`tsh\` client Determine the version of your Teleport cluster. The `tsh` client must be at most one major version behind your Teleport cluster version. Send a GET request to the Proxy Service at /v1/webapi/find and use a JSON query tool to obtain your cluster version. Replace with the web address of your Teleport Proxy Service: $ TELEPORT_DOMAIN= $ TELEPORT_VERSION="$(curl -s https://$TELEPORT_DOMAIN/v1/webapi/find | jq -r '.server_version')" Follow the instructions for your platform to install `tsh` client: OpenSSH 클라이언트. Remote - SSH 확장을 위한 Remote - SSH 확장 이 설치된 Visual Studio Code. 하나 이상의 Teleport SSH Service를 실행하는 Teleport Agent. 아직 설정하지 않은 경우, 시작하기 가이드 를 읽어 설정 방법을 알아보세요. Note Linux 및 macOS 클라이언트는 운영 체제에서 제공하는 OpenSSH 패키지를 사용해야 합니다. Windows 10 클라이언트는 Microsoft의 OpenSSH 가이드 를 참조하세요. 구버전 클라이언트는 Git for Windows 또는 Microsoft의 Win32-OpenSSH 프로젝트 에서 ssh.exe 를 사용할 수 있습니다. 1/3단계. 최초 설정 # Teleport 노드에 접근하도록 로컬 SSH 클라이언트를 설정하세요. 를 Teleport Proxy Service 주소로 바꾸고(Teleport Cloud 사용자의 경우 예: mytenant.teleport.sh ), 를 Teleport 사용자로 바꾸세요. # 프록시에 로그인: $ tsh logi