Linked Questions

265 votes
7 answers
166k views

How to change Vagrant 'default' machine name?

Where does the name 'default' come from when launching a vagrant box? $ vagrant up Bringing machine 'default' up with 'virtualbox' provider... Is there a way to set this?
Kyle Kelley's user avatar
40 votes
6 answers
48k views

What happened to the TMP environment variable?

I always heard that the proper way to find the temporary folder on a UNIX machine was to look at the TMP environment variable. When writing code that worked on Windows as well as Linux, I would check ...
boatcoder's user avatar
  • 17.9k
17 votes
10 answers
40k views

Vagrant : Permission denied (publickey)

I am getting Permission denied (publickey) error when doing ssh by ssh username@ip while ssh working when we are doing vagrant ssh VagrantFile : Vagrant.configure("2") do |config| config.vm.box = "...
itsvks's user avatar
  • 393
10 votes
3 answers
9k views

Getting Bad configuration option: \377\376h

I am setting my systems for codecommit. but getting following error I followed the below link : https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-ssh-windows.html /c/Users/Prasanna/...
Prasanna Wagh's user avatar
18 votes
2 answers
14k views

vagrant up - server not starting because a ssh library issue

I get this errormessage: An error occurred in the underlying SSH library that Vagrant uses. The error message is shown below. In many cases, errors from this library are caused by ssh-agent ...
cgee's user avatar
  • 1,892
6 votes
5 answers
9k views

Which gtk method I have to use to get temporary path in Ubuntu?

How can I get the temporary directory path in Ubuntu?
boom's user avatar
  • 5,986
6 votes
5 answers
3k views

cygwin: vagrant ssh, empty command prompt

If I vagrant ssh with windows cmd, I get a nice command prompt, like that: vagrant@homestead:~$ echo foo vagrant@homestead:~$ foo But with cygwin and mintty, I have no prompt at all: echo foo foo ...
trogne's user avatar
  • 3,554
3 votes
2 answers
8k views

Vagrant up stuck

I'm running vagrant up and I'm facing an issue that it seemed to be this one at the beginning Vagrant stuck connection timeout retrying. I've tried all the solutions in there, I also did a vagrant ...
Pablo Ezequiel Leone's user avatar
2 votes
2 answers
2k views

How to get ssh agent forwarding working with multiple accounts on a vm?

There are a good number of answers out there on ssh agent forwarding, but I couldn't seem to find one that addresses my issue. I am using packer.io to automate the provisioning of my servers. One of ...
Matthew Sanders's user avatar
2 votes
1 answer
692 views

Can't understand vagrant ssh implementation

I recently start to use Vagrant (and recently move to Ubuntu from Windows too). My goal to understand fundamentals of vagrant ssh. So, I'm trying to understand what vagrant ssh actually does. I've ...
Timur Fayzrakhmanov's user avatar
0 votes
1 answer
535 views

Vagrant - Can't SSH into specific machine from command line

I am trying to SSH into a specific vagrant box from the command line: vagrant ssh winbox password 'winbox' is what the box appears to be called in 'vagrant box list'. However, upon the entry of that ...
Mateusz J's user avatar
1 vote
1 answer
181 views

Remote script terminating prematurely after vagrant remote command

I have vagrant boxes configured on a remote server (my-server in my example). I'm trying to run a set of remote commands on a vagrant box, from my machine, through an SSH session: ssh me@my-server &...
Ian2thedv's user avatar
  • 2,701