Added "IdentitiesOnly" flag to `vagrant ssh` to avoid "Too Many Auth Failures" error message
This commit is contained in:
parent
22a9e3fe3d
commit
f3a6dc8479
|
@ -1,5 +1,7 @@
|
|||
## 0.5.2 (unreleased)
|
||||
|
||||
- Added "IdentitiesOnly yes" to options when `vagrant ssh` is run to
|
||||
avoid "Too Many Authentication Failures" error. [GH-131]
|
||||
- Fix regression with `package` not working. [GH-132]
|
||||
- Added ability to specify box url in `init`, which populates the
|
||||
Vagrantfile with the proper `config.vm.box_url`.
|
||||
|
|
|
@ -33,7 +33,8 @@ module Vagrant
|
|||
|
||||
# Command line options
|
||||
command_options = ["-p #{options[:port]}", "-o UserKnownHostsFile=/dev/null",
|
||||
"-o StrictHostKeyChecking=no", "-i #{options[:private_key_path]}"]
|
||||
"-o StrictHostKeyChecking=no", "-o IdentitiesOnly=yes",
|
||||
"-i #{options[:private_key_path]}"]
|
||||
command_options << "-o ForwardAgent=yes" if env.config.ssh.forward_agent
|
||||
|
||||
# Some hackery going on here. On Mac OS X Leopard (10.5), exec fails
|
||||
|
|
Loading…
Reference in New Issue