1 回答
- 最新
- 投票最多
- 评论最多
0
Hello.
If you use VSCode's RemoteSSH extension, try setting ssh_config as follows.
"ssh.pem" is the SSH key set to ec2-user.
With this setting, you will be able to connect to EC2 configured with ProxyCommand and manipulate files.
Host instance1
HostName i-0eyyyyyyyyyyy
User ec2-user
IdentityFile .\Desktop\tmp\ssh.pem
ProxyCommand aws ec2-instance-connect open-tunnel --instance-id i-0eyyyyyyyyyyy
相关内容
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前