0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

sshの踏み台サーバ経由でのアクセス方法

Posted at

はじめに

業務にて、計算機サーバにアクセスするために、踏み台サーバ経由で対象サーバーにアクセスする方法を探したのでまとめる。

踏み台サーバ経由でのアクセスコマンド

sshのオプションの一つになる-oProxyCommandオプションが重要。

ssh -oProxyCommand='ssh -W %h:%p [踏み台サーバのアドレス]' -l [Username] [対象サーバーのIPアドレス]

終わりに

踏み台サーバのアドレスの指定方法などは別途まとめたい。

0
1
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
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?