Debian: 'Mounting SSHFS shared folder via slave SSHFS mount failed.' error.
mattarau opened this issue · 5 comments
Hi,
When trying to vagrant up
Debian VMs (tested with debian/jessie64
, debian/wheezy64
and minimal/wheezy64
), while Checking Mount..
is running the following error is thrown:
Mounting SSHFS shared folder via slave SSHFS mount failed. Please
look at the below STDERR output from the processes that were run.
SSH command:
Warning: Permanently added '[127.0.0.1]:2222' (ECDSA) to the list of known hosts.
Received disconnect from 127.0.0.1 port 2222:2: Too many authentication failures for vagrant
Connection to 127.0.0.1 closed by remote host.
SFTP command:
Tested only on a macOS 10.12.3 with VirtualBox host.
Cheers!
any chance you are using an ssh-agent with a lot of keys already added to the agent? I see this sometimes because ssh tries to use the keys from the agent first and if you have 4 or more it can fail in this way before trying the ssh key that should be used for the box.
workaround by running SSH_AUTH_SOCK= vagrant up
to unset SSH_AUTH_SOCK during execution of vagrant
@mdentinho ^^
The workaround works and doesn't even break config.ssh.forward_agent = true
. I have eight keys in my agent.
Calling SSH_AUTH_SOCK= vagrant up
causes default: Warning: Authentication failure. Retrying...
errors for me during the booting process.