うすのブログ

初心者プログラマです。

vagrantのssh一発で設定する

vagrantの一発でsshの設定

{host_name}は、ホスト名かIPaddress

$ vagrant ssh-config --host {host_ipaddress} >> ~/.ssh/config

終わりです。