LoginSignup
0
1

More than 5 years have passed since last update.

minttyでVagrant sshログインできない時の方法

Last updated at Posted at 2017-02-06

sshでログインしようとしたらできない!

勉強中にvagrantでsshログインしようとした際に詰まったので備忘録として残します。

vagrant up

でOS起動して

vagrant ssh

でログインしようとしたら、下記のエラーが発生。

Pseudo-terminal will not be allocated because stdin is not a terminal.
Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-108-generic x86_64)

 * Documentation:  https://help.ubuntu.com/

  System information as of Mon Feb  6 22:40:57 UTC 2017

  System load:  0.16              Processes:           95
  Usage of /:   6.0% of 39.34GB   Users logged in:     0
  Memory usage: 19%               IP address for eth0: 10.0.2.15
  Swap usage:   0%

  Graph this data and manage this system at:
    https://landscape.canonical.com/

  Get cloud support with Ubuntu Advantage Cloud Guest:
    http://www.ubuntu.com/business/services/cloud

あれ、本の通りに行かない。
Google検索したところ回避方法?を発見。

vagrant ssh-config >> ~/.ssh/config

の後に

ssh default

こうすればログインできました!

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