InfoGrab Docs

JetBrains SFTP

Teleport를 사용하여 JetBrains IDE로 원격 호스트의 파일을 조작하는 방법

PyCharm, GoLand, IntelliJ 등 JetBrains IDE는 SFTP 프로토콜을 사용하여 원격 서버의 파일을 탐색, 복사, 편집할 수 있습니다. Teleport를 IDE와 통합하면 타사 클라이언트 없이도 원격 머신과 파일을 복사할 수 있습니다. 이 가이드는 Teleport와 JetBrains IDE를 사용하여 SFTP로 파일에 접근하는 방법을 설명합니다. 작동 방식 # JetBrains IDE는 로컬 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: PyCharm, IntelliJ, GoLand 등의 JetBrains IDE. 전체 JetBrains IDE 목록은 Products 를 참조하세요. 하나 이상의 Teleport SSH Service 인스턴스. 아직 설정하지 않은 경우, 시작하기 가이드 를 읽어 설정 방법을 알아보세요. 1/3단계. 최초 설정 # 로컬 SSH 클라이언트가 서버에 접근하도록 설정하세요. --proxy 플래그에 Teleport Proxy Service의 주소를 지정하세요(Teleport Cloud 사용자의 경우 예: mytenant.teleport.sh ). # 프록시에 로그인: $ tsh login --proxy proxy.foo.example.com --user alice # 프록시에 대한 OpenSSH 설정 생성: $ tsh config --proxy prox