diff options
author | Miklós Fazekas <mfazekas@szemafor.com> | 2014-12-23 18:57:46 +0100 |
---|---|---|
committer | Miklós Fazekas <mfazekas@szemafor.com> | 2014-12-23 18:57:46 +0100 |
commit | 4f75343a9863e9cb8854671bf79852ac8bff86e0 (patch) | |
tree | cfc1fa9f0941539d9618dbfad85020f7192e71f0 | |
parent | 5766f362b22935f4e14c4b8fca4dc1dcfb3f1342 (diff) | |
parent | 08067c1eb9c37966274bcfd0b2d7424ce6b7dd10 (diff) | |
download | net-ssh-4f75343a9863e9cb8854671bf79852ac8bff86e0.tar.gz |
Merge pull request #204 from trampi/documentation_paranoid
added documentation about paranoid and own verifiers
-rw-r--r-- | lib/net/ssh.rb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/net/ssh.rb b/lib/net/ssh.rb index 37acea1..9dfbcd0 100644 --- a/lib/net/ssh.rb +++ b/lib/net/ssh.rb @@ -130,7 +130,7 @@ module Net # the keepalive_interval seconds. Defaults to +false+. # * :keepalive_interval => the interval seconds for keepalive. # Defaults to +300+ seconds. - # :keepalive_maxcount => the maximun number of keepalive packet miss allowed. + # * :keepalive_maxcount => the maximun number of keepalive packet miss allowed. # * :kex => the key exchange algorithm (or algorithms) to use # * :keys => an array of file names of private keys to use for publickey # and hostbased authentication @@ -147,7 +147,11 @@ module Net # * :max_win_size => maximum size we tell the other side that is supported for # the window. # * :paranoid => either false, true, :very, or :secure specifying how - # strict host-key verification should be (in increasing order here) + # strict host-key verification should be (in increasing order here). + # You can also provide an own Object which responds to +verify+. The argument + # given to +verify+ is a hash consisting of the +:key+, the +:key_blob+, + # the +:fingerprint+ and the +:session+. Returning true accepts the host key, + # returning false declines it and closes the connection. # * :passphrase => the passphrase to use when loading a private key (default # is +nil+, for no passphrase) # * :password => the password to use to login |