plugins/kernel_v2/config/ssh_connect.rb in vagrant-unbundled-1.9.5.1 vs plugins/kernel_v2/config/ssh_connect.rb in vagrant-unbundled-1.9.7.1
- old
+ new
@@ -7,20 +7,24 @@
attr_accessor :username
attr_accessor :password
attr_accessor :insert_key
attr_accessor :keys_only
attr_accessor :paranoid
+ attr_accessor :compression
+ attr_accessor :dsa_authentication
def initialize
@host = UNSET_VALUE
@port = UNSET_VALUE
@private_key_path = UNSET_VALUE
@username = UNSET_VALUE
@password = UNSET_VALUE
@insert_key = UNSET_VALUE
@keys_only = UNSET_VALUE
@paranoid = UNSET_VALUE
+ @compression = UNSET_VALUE
+ @dsa_authentication = UNSET_VALUE
end
def finalize!
@host = nil if @host == UNSET_VALUE
@port = nil if @port == UNSET_VALUE
@@ -28,9 +32,11 @@
@username = nil if @username == UNSET_VALUE
@password = nil if @password == UNSET_VALUE
@insert_key = true if @insert_key == UNSET_VALUE
@keys_only = true if @keys_only == UNSET_VALUE
@paranoid = false if @paranoid == UNSET_VALUE
+ @compression = true if @compression == UNSET_VALUE
+ @dsa_authentication = true if @dsa_authentication == UNSET_VALUE
if @private_key_path && !@private_key_path.is_a?(Array)
@private_key_path = [@private_key_path]
end
end