다단계 ssh 서버에 VScode로 연결 (에이전트 포워드)
1736 단어 다단 SSHSSHAgentForwardingVSCode발판
다음과 같은 서버 구성에서 로컬 PC에서 ssh 연결을하고 VScode에서 열고 싶습니다.

개인 키는 발판 서버와 개인 서버 모두 로컬 키를 사용합니다.
가끔 비밀키를 발판 서버에 두고 있는 기사가 있습니다만, 조금 좋지 않아요?
에이전트 포워드로 키를 서버에 두지 않고 로컬로부터 가지고 갑시다.
htps : // 코 m / 나오키 _ 모치즈키 / ms / 93 네 2643 4c6
ssh/config
Host bastion
Hostname aaa.aaa.aaa.aaa
Port 22
User user_name
IdentityFile ~/.ssh/id_rsa
ForwardAgent yes
Host private
Hostname xxx.xxx.xxx.xxx
Port 22
User user_name
ProxyCommand ssh -W %h:%p bastion
ssh 연결
# bastionサーバーにssh
$ ssh bastion
# privateサーバーにssh
$ ssh private
VScode 플러그인
VScode 플러그인
Remote - ssh
을 install합니다.ぁtps://마르케 tp.ゔぃすあ lsつぢお。 이 m/있어 ms? 있어 m 핥기 = ms-vs 코데레-대접. Remote-sh

VScode로 연결
왼쪽 하단의 녹색 버튼에서 연결

그리고는 좋다.
Reference
이 문제에 관하여(다단계 ssh 서버에 VScode로 연결 (에이전트 포워드)), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/my0shym/items/c5b792cbb0de7531376e텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)