summaryrefslogtreecommitdiff
path: root/vendor
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2012-10-30 13:06:05 -0700
committerelijah <elijah@riseup.net>2012-10-30 13:06:05 -0700
commit753d0049a2dd952eab47df89175611298d7f8755 (patch)
treea5e515bb2d6b8eac6414739ecb3a5db7e383d5be /vendor
parentf8c98e7e15a92efdf384f6e4074df8c0d005871a (diff)
use GlobalKnownHostsFile for rsync and ssh instead of UserKnownHostsFile.
Diffstat (limited to 'vendor')
-rw-r--r--vendor/supply_drop/lib/supply_drop/rsync.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/supply_drop/lib/supply_drop/rsync.rb b/vendor/supply_drop/lib/supply_drop/rsync.rb
index 7356653..3030038 100644
--- a/vendor/supply_drop/lib/supply_drop/rsync.rb
+++ b/vendor/supply_drop/lib/supply_drop/rsync.rb
@@ -32,6 +32,7 @@ module SupplyDrop
when :config then "-F #{value}"
when :port then "-p #{value}"
when :user_known_hosts_file then "-o 'UserKnownHostsFile=#{value}'"
+ when :global_known_hosts_file then "-o 'GlobalKnownHostsFile=#{value}'"
when :host_key_alias then "-o 'HostKeyAlias=#{value}'"
when :paranoid then "-o 'StrictHostKeyChecking=yes'"
when :host_name then "-o 'HostName=#{value}'"