LoginSignup
3
4

More than 5 years have passed since last update.

FTPクライアントの踏み台経由のsshログイン設定

Posted at

概要

FTPクライアント(CyberDuck)における踏み台経由でのサーバ接続設定が非エンジニアに刺さったので記録

トンネル接続設定

$ ssh -f -N -L 10220:<target>:22 <user>@<bastion> -i ~/.ssh/<private-key>

  • f:バックグラウンド処理
  • N:SSHしたホストでコマンド実行しない

イメージとCyberduckの接続設定

AWS Design.png

トンネル接続解除

$ ps aux | grep sshで当該PIDを調べてkill

3
4
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
3
4