lib/net/ssh.rb in net-ssh-7.1.0.beta2 vs lib/net/ssh.rb in net-ssh-7.1.0

- old
+ new

@@ -71,11 +71,11 @@ known_hosts 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 set_env use_agent number_of_password_prompts append_all_supported_algorithms non_interactive password_prompt agent_socket_factory minimum_dh_bits verify_host_key - fingerprint_hash check_host_ip + fingerprint_hash check_host_ip pubkey_algorithms ] # The standard means of starting a new SSH connection. When used with a # block, the connection will be closed when the block terminates, otherwise # the connection will just be returned. The yielded (or returned) value @@ -168,9 +168,14 @@ # * :password => the password to use to login # * :port => the port to use when connecting to the remote host # * :properties => a hash of key/value pairs to add to the new connection's # properties (see Net::SSH::Connection::Session#properties) # * :proxy => a proxy instance (see Proxy) to use when connecting + # * :pubkey_algorithms => the public key authentication algorithms to use for + # this connection. Valid values are 'rsa-sha2-256-cert-v01@openssh.com', + # 'ssh-rsa-cert-v01@openssh.com', 'rsa-sha2-256', 'ssh-rsa'. Currently, this + # option is only used for RSA public key authentication and ignored for other + # types. # * :rekey_blocks_limit => the max number of blocks to process before rekeying # * :rekey_limit => the max number of bytes to process before rekeying # * :rekey_packet_limit => the max number of packets to process before rekeying # * :send_env => an array of local environment variable names to export to the # remote environment. Names may be given as String or Regexp.