summaryrefslogtreecommitdiff
path: root/lib/net/ssh.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/net/ssh.rb')
-rw-r--r--lib/net/ssh.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/net/ssh.rb b/lib/net/ssh.rb
index 00f9ae0..d9a1f57 100644
--- a/lib/net/ssh.rb
+++ b/lib/net/ssh.rb
@@ -68,7 +68,7 @@ module Net
:rekey_blocks_limit,:rekey_limit, :rekey_packet_limit, :timeout, :verbose,
:global_known_hosts_file, :user_known_hosts_file, :host_key_alias,
:host_name, :user, :properties, :passphrase, :keys_only, :max_pkt_size,
- :max_win_size, :send_env
+ :max_win_size, :send_env, :use_agent
]
# The standard means of starting a new SSH connection. When used with a
@@ -166,6 +166,8 @@ module Net
# * :user_known_hosts_file => the location of the user known hosts file.
# Set to an array to specify multiple user known hosts files.
# Defaults to %w(~/.ssh/known_hosts ~/.ssh/known_hosts2).
+ # * :use_agent => Set false to disable the use of ssh-agent. Defaults to
+ # true
# * :verbose => how verbose to be (Logger verbosity constants, Logger::DEBUG
# is very verbose, Logger::FATAL is all but silent). Logger::FATAL is the
# default. The symbols :debug, :info, :warn, :error, and :fatal are also