Specify specific auth methods to use for SSH.
Specifically no "keyboard-interactive" EVER
This commit is contained in:
parent
3304a7701c
commit
e3b9ddda1d
|
@ -137,13 +137,14 @@ module VagrantPlugins
|
|||
|
||||
# Build the options we'll use to initiate the connection via Net::SSH
|
||||
opts = {
|
||||
:port => ssh_info[:port],
|
||||
:auth_methods => ["none", "publickey", "hostbased", "password"],
|
||||
:config => false,
|
||||
:forward_agent => ssh_info[:forward_agent],
|
||||
:keys => [ssh_info[:private_key_path]],
|
||||
:keys_only => true,
|
||||
:user_known_hosts_file => [],
|
||||
:paranoid => false,
|
||||
:config => false,
|
||||
:forward_agent => ssh_info[:forward_agent]
|
||||
:port => ssh_info[:port],
|
||||
:user_known_hosts_file => []
|
||||
}
|
||||
|
||||
# Check that the private key permissions are valid
|
||||
|
|
Loading…
Reference in New Issue