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

踏み台経由でRDSへSSHポートフォアリングする方法

Posted at

RDSへの接続方法

メモっすよ。

$ ssh -f -N -C -L 13306:rdsname.ap-northeast-1.rds.amazonaws.com:3306 username@ssh-server-name -p 22
$ mysql -h 127.0.0.1 -u mysql_user_name database_name -P 13306 -p

まあこんなかんじです。
停止させるときは、必殺技の「kill プロセス番号」ですね。

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