0
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 1 year has passed since last update.

UbuntuのVagrant Boxへのssh接続方法

Posted at

ubuntuの公式でVagrant Box落としてくると毎回初回ログインの方法忘れるのでメモ。今更vagrantってのも芸が無いけど。

#####方法1
フツーにvagrant sshで繋ぐ。自分の環境がwinなので、初回の設定用。

#####方法2

vagrant ssh-config

で鍵ファイルの場所を教えてくれる。

#####方法3
/etc/ssh/sshd_configのPasswordAuthenticationをyesに変える。vagrant sshで繋いで変更した後自分の好きなターミナルで繋げば良い。UsePAMはyesのままで大丈夫。

いじょ

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