| ページ一覧 | ブログ | twitter |  書式 | 書式(表) |

MyMemoWiki

差分

ナビゲーションに移動 検索に移動
470 バイト除去 、 2023年10月26日 (木) 10:52
*ssh -i 踏み台サーバー鍵ファイル -L ローカルポート:本当に接続したいサーバー:本当に接続したいサーバーのポート 踏み台サーバーユーザー@踏み台サーバー
<pre>
bengalure:~ piroto$ ssh -i ~/.ssh/typea-dev-key.pem -L 13308:typea-dev-mysql-multiaz.c5ihdpszudfw.us-east-1.rds.amazonaws.com:3306 ec2-user@34.226.213.144The authenticity of host '34.226.213.144 (34.226.213.144)' can't be established.ED25519 key fingerprint is SHA256:thXy0hJy6EbCHNSpz5KWJaIkvYwtl0/n4hjYE70uAag.This key is not known by any other namesAre you sure you want to continue connecting (yes/no/[fingerprint])? yesWarning: Permanently added '34.226.213.144' (ED25519) to the list of known hosts.</pre>*上記でフォワードされているので別ターミナルから<pre>bengalure:~ piroto$ mysql -u admin -p -P 13306
</pre>
[[File:poft_forwarding.png|400px]]
===ファイル===

案内メニュー