No ubuntu VM prompt using Vagrants on Git Bash
After logging into a virtual machine using vagrant ssh
with GitBash on Windows 10, I don't see any prompts in the directory. Although it runs the python web forum (for the Udacity tutorial on Getting Started with Relational Databases ), it won't let me start psql
so I can continue with the tutorial. I can change directories, list file information, and run python, but the prompt doesn't work as usual.
Screenshot: Screenshot .
Note that the forum is running, this screenshot was taken after I logged out and restarted the vagrant.
Wandering version 1.9.6
Ubuntu version 16.04.2 LTS
All programs are installed or running in administrator mode.
source to share
I had the same problem when trying to set up Laravel Homestead - in my case it's a Git Bash / MINGW64 issue.
My workflow was to use PuTTY
- Install PuTTY, PuTTYgen
- Create a .ppk of the key you use to connect to vagrant vm by uploading the private key to PuTTYgen and save the private key
- Create a new PuTTY session with your vagrant details, in my case I just copied what was shown after running "vagrant up" at SSH, username (my PuTTY Host Name would be "vagrant @ localhost": 2222)
- specify ppk in PuTTY config under Connection-> SSH-> Auth-> Private key for authentication
In short, try connecting to PuTTY or another terminal emulator and see if you're in luck.
source to share