Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debian: 'Mounting SSHFS shared folder via slave SSHFS mount failed.' error. #71

Open
mattarau opened this issue Feb 2, 2017 · 5 comments

Comments

@mattarau
Copy link

mattarau commented Feb 2, 2017

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!

@dustymabe
Copy link
Owner

dustymabe commented Feb 2, 2017

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.

@dustymabe
Copy link
Owner

workaround by running SSH_AUTH_SOCK= vagrant up to unset SSH_AUTH_SOCK during execution of vagrant

@dustymabe
Copy link
Owner

@mdentinho ^^

@RonjaPonja
Copy link

The workaround works and doesn't even break config.ssh.forward_agent = true. I have eight keys in my agent.

@wilkesreid
Copy link

Calling SSH_AUTH_SOCK= vagrant up causes default: Warning: Authentication failure. Retrying... errors for me during the booting process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants