Error on vagrant ssh in Homestead, user directory with whitespaces

Posted 2 years ago by Gerard

I did a fresh Vagrant/Virtualbox/Homestead installation in a coworkers PC.

His computer user account is his full name, so the user directory looks like: C:/Users/John Doe/.

homestead up it's ok, but when I run homestead ssh the path seems to get cutted at some point and it breaks.

$ homestead ssh
Warning: Identity file C:/Users/John not accessible: No such file or directory.
bash: Doe/Homestead/.vagrant/machines/homestead-7/virtualbox/private_key: No such file or directory

Has anyone encountered this problem?

Please sign in or create an account to participate in this conversation.