LoginSignup
1
0

More than 5 years have passed since last update.

Vagrant環境内のDBにSequal Proで接続する

Posted at

手順

  1. vagrant ssh-config コマンドでSSH設定を確認する
  2. 設定を ~/.ssh/config に追加する
  3. Sequal Proの接続情報をSSHで設定する

SSH設定の確認

$ vagrant ssh-config --host qiita-local
Host qiita-local
  HostName 127.0.0.1
  User vagrant
  Port 2200
  UserKnownHostsFile /dev/null
  StrictHostKeyChecking no
  PasswordAuthentication no
  IdentityFile /Users/qiita/.vagrant.d/boxes/qiita-local/0/virtualbox/vagrant_private_key
  IdentitiesOnly yes
  LogLevel FATAL

表示された情報を ~/.ssh/config に追加します

Sequal Proの設定

スクリーンショットを参考に適宜設定します
SSH ホストには先程確認したホスト名を入力します

--host qiita-local

スクリーンショット 2018-06-05 10.39.22.png

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