Illia Chilikin
Illia Chilikin

Reputation: 83

Vagrant ssh : garbage at end of line

Trying to install vagrant for laravel project All was nice just till the moment I tryed to create vagrant ssh with command: vagrant ssh I have next error:

command-line line 0: garbage at end of line;"chil/project/Homestead/.vagrant/machines/homestead-7/virtualbox/private_key".

I think it's because of path, because I have folder illia_chil (firts folder in the path)

Upvotes: 5

Views: 16516

Answers (2)

Afnan Qureshi
Afnan Qureshi

Reputation: 11

If you have spaces in your path, use double quotes. That resolved the issue for me.

Upvotes: 0

Ronny
Ronny

Reputation: 101

It is because of the path, but an underscore shouldn't have caused this error. I had this error due to having spaces in my path.

Upvotes: 10

Related Questions