summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordelano <delano.mandelbaum@gmail.com>2013-04-11 14:28:00 -0700
committerdelano <delano.mandelbaum@gmail.com>2013-04-11 14:28:00 -0700
commit2ebbc14b56e071a6cf01aabce71be79a0c572cef (patch)
tree305d908b88616f4980315889a399e9a7194e4ce1
parent252cf0b118d6e8014529262257f0db827656df8d (diff)
downloadnet-ssh-2ebbc14b56e071a6cf01aabce71be79a0c572cef.tar.gz
Version bump (2.6.7)v2.6.7
-rw-r--r--CHANGES.txt6
-rw-r--r--lib/net/ssh.rb13
-rw-r--r--lib/net/ssh/version.rb2
-rw-r--r--net-ssh.gemspec4
4 files changed, 16 insertions, 9 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index eeecfa4..8ec91fb 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,10 @@
+=== 2.6.7 / 11 Apr 2013
+
+* Decreased default packet size to 32768 as described in RFC 4253 [Olipro]
+* Added max_pkt_size and max_win_size options to Net::SSH.start [Olipro]
+
+
=== 2.6.6 / 03 Mar 2013
* Fix for ruby 2.0 in windows [jansegre]
diff --git a/lib/net/ssh.rb b/lib/net/ssh.rb
index d03b2d7..2fbe078 100644
--- a/lib/net/ssh.rb
+++ b/lib/net/ssh.rb
@@ -61,9 +61,9 @@ module Net
# This is the set of options that Net::SSH.start recognizes. See
# Net::SSH.start for a description of each option.
VALID_OPTIONS = [
- :auth_methods, :bind_address, :compression, :compression_level, :config,
- :encryption, :forward_agent, :hmac, :host_key, :kex, :keys, :key_data,
- :languages, :logger, :paranoid, :password, :port, :proxy,
+ :auth_methods, :bind_address, :compression, :compression_level, :config,
+ :encryption, :forward_agent, :hmac, :host_key, :kex, :keys, :key_data,
+ :languages, :logger, :paranoid, :password, :port, :proxy,
: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,
@@ -121,7 +121,7 @@ module Net
# host to a known_hosts dictionary file
# * :host_name => the real host name or IP to log into. This is used
# instead of the +host+ parameter, and is primarily only useful when
- # specified in an SSH configuration file. It lets you specify an
+ # specified in an SSH configuration file. It lets you specify an
# "alias", similarly to adding an entry in /etc/hosts but without needing
# to modify /etc/hosts.
# * :kex => the key exchange algorithm (or algorithms) to use
@@ -135,7 +135,8 @@ module Net
# identites.
# * :logger => the logger instance to use when logging
# * :max_pkt_size => maximum size we tell the other side that is supported per
- # packet.
+ # packet. Default is 0x8000 (32768 bytes). Increase to 0x10000 (65536 bytes)
+ # for better performance if your SSH server supports it (most do).
# * :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
@@ -222,7 +223,7 @@ module Net
when false, nil then return {}
else Array(use_ssh_config)
end
-
+
Net::SSH::Config.for(host, files)
end
end
diff --git a/lib/net/ssh/version.rb b/lib/net/ssh/version.rb
index c04f7e0..8e914d0 100644
--- a/lib/net/ssh/version.rb
+++ b/lib/net/ssh/version.rb
@@ -51,7 +51,7 @@ module Net; module SSH
MINOR = 6
# The tiny component of this version of the Net::SSH library
- TINY = 6
+ TINY = 7
# The current version of the Net::SSH library as a Version instance
CURRENT = new(MAJOR, MINOR, TINY)
diff --git a/net-ssh.gemspec b/net-ssh.gemspec
index fad77dd..b961f62 100644
--- a/net-ssh.gemspec
+++ b/net-ssh.gemspec
@@ -5,12 +5,12 @@
Gem::Specification.new do |s|
s.name = "net-ssh"
- s.version = "2.6.6"
+ s.version = "2.6.7"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Jamis Buck", "Delano Mandelbaum"]
s.cert_chain = ["gem-public_cert.pem"]
- s.date = "2013-03-03"
+ s.date = "2013-04-11"
s.description = "Net::SSH: a pure-Ruby implementation of the SSH2 client protocol. It allows you to write programs that invoke and interact with processes on remote servers, via SSH2."
s.email = "net-ssh@solutious.com"
s.extra_rdoc_files = [