ゆず日記

戦う Vimmer 兼 Dvorakユーザ 兼 Kinesisユーザ 兼 おぺらー が戦わないブログ

ssh

ssh コマンドで Vagrant に ssh 接続したお話。

vagrant ssh は vagrant up するディレクトリにいないとできないので、ssh hoge でも接続できるようにする。 手順 .ssh/config に以下を追加 Host hoge HostName 192.168.xxx.xxx Port 2222 IdentityFile ~/.vagrant.d/insecure_private_key User vagrant co…