LoginSignup
2
3

More than 5 years have passed since last update.

[備忘録]踏み台経由でssh接続する設定

Posted at
# 踏み台
Host bastion
  HostName HOST_NAME
  User USER
  IdentityFile FILE_PATH

# 最終目的地
Host final_destination
  HostName HOST_NAME
  User USER
  IdentityFile FILE_PATH
  ProxyCommand ssh -W %h:%p bastion

肝はProxyCommand

あと、これやると便利そう。最強のSSH踏み台設定

2
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3