2
0

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 3 years have passed since last update.

SequelAceでSSH接続する方法

Posted at

踏み台サーバーを経由してMysqlに接続する方法をメモ。

~/.ssh/xxxx.pemに秘密鍵を配置

~/.ssh/configにSSH接続情報を記述(デフォルトで接続エラーが出る場合)

記述例↓

# Mysql
Host mysql
    HostName 10.22.33.44
    User ec2-user
    IdentityFile ~/.ssh/xxxx.pem
    Port 22

Sequel Ace のPreferencesのファイルにxxxx.pemとconfigファイルをaddFilesする
ネットワークのところのSSH Configを先程記述したconfigファイルを設定する

最後にSSH接続すれば完了
スクリーンショット 2021-10-11 22.05.58.png

サラッとですが以上です。

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?