Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Handle ssh-rsa and ssh-dss certificate filesbobveznat-master | Bob Van Zant | 2014-01-21 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | This does not implement certificate based authentication (described here http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/PROTOCOL.certkeys?rev=HEAD) but instead makes it so that if the certificate is not needed for authentication net-ssh doesn't cause the entire application to die. The net-ssh test suite continues to pass. On my own machine I did tests with certificates loaded and verified that although authentication could not proceed to a host requiring a certificate it at least did not die. I also verified that I can continue to use normal rsa and dsa keys to ssh to hosts that do not require certificates even when the certificates are loaded into my ssh-agent instance. This is a potential solution to issue #124 and an alternative to the one presented in pull request #134. | ||||
* | Fixed pageant support. | Jarred Holman | 2014-01-15 | 3 | -53/+59 |
| | |||||
* | make the authentication error message more useful | Tomas Barton | 2013-11-27 | 1 | -1/+1 |
| | |||||
* | Fix for "Authentication Method determination can pick up a class from the ↵ | Dave | 2013-09-23 | 1 | -0/+1 |
| | | | | root namespace". Added a require for the 'none' authentication method in session.rb. | ||||
* | Version bumpv2.7.02.72.6 | delano | 2013-09-11 | 1 | -2/+2 |
| | |||||
* | remove comment | Yuri Matylitski | 2013-09-11 | 1 | -1/+0 |
| | |||||
* | fix for 'Could not parse PKey: no start line' error on private keys with ↵ | Yuri Matylitski | 2013-09-11 | 1 | -0/+4 |
| | | | | passphrases' | ||||
* | Automatically forward environment variables defined in OpenSSH config files | Robert Schulze | 2013-09-09 | 3 | -1/+26 |
| | | | | Also accept `:send_env` option on `Net::SSH.start` | ||||
* | Merge pull request #116 from noric/feature/keepalive | Delano Mandelbaum | 2013-08-25 | 2 | -2/+39 |
|\ | | | | | implement a experimental keepalive feature #115 | ||||
| * | implement a experimental keepalive feature | Norihito Yoshioka | 2013-08-18 | 2 | -2/+39 |
| | | |||||
* | | Guard against socket.gets being nil | Kris Hicks | 2013-07-08 | 1 | -1/+1 |
|/ | | | | | | In the situation where the socket has only one line to respond with, any following gets to the socket need to take care to not assume there is a non-nil response. | ||||
* | Version bumpv2.6.8 | delano | 2013-07-06 | 1 | -1/+1 |
| | |||||
* | Merge pull request #108 from joshk/wait_during_close_loop | Delano Mandelbaum | 2013-07-06 | 1 | -1/+1 |
|\ | | | | | Add a wait to the loop in close | ||||
| * | add a wait to the loop in close | Josh Kalderimis | 2013-06-20 | 1 | -1/+1 |
| | | | | | | this is possibly blocking in cases where the connection is now unresponsive, and also causing timeouts which wrap this to block. | ||||
* | | Fixed merge from GabKlein-masterGabKlein-master | delano | 2013-07-06 | 1 | -1/+2 |
|\ \ | |/ |/| | |||||
| * | Update config.rb | Gabriel KLEIN | 2013-03-11 | 1 | -1/+2 |
| | | | | | | Add support of "%h" value in ssh_config translation | ||||
* | | Make sure HOME is an absolute path | Tobias Schmidt | 2013-04-18 | 1 | -1/+1 |
| | | | | | | | | | | | | | | In setups where $HOME is not set, the previous implementation set "." as default. The problem is that File.expand_path will raise ArgumentError "non-absolute home" if HOME is a relative path. This change makes sure HOME is an absolute path. | ||||
* | | Version bump (2.6.7)v2.6.7 | delano | 2013-04-11 | 2 | -7/+8 |
| | | |||||
* | | connection/channel+session: lower max packet size & allow manual size. | Oliver | 2013-04-10 | 3 | -6/+15 |
|/ | | | | | | | | | | | | | | Per section 6.1 of RFC 4253 an SSH implementation MUST support a packet size of 32768 bytes, however, any size above this is not mandatory. Currently, the max packet size is 64Kb and can cause a channel open failure for hosts which only support the required 32Kb packet size. As a result, we now default to the required size of 32768 (0x8000) in order to avoid any errors with such hosts. Additionally, the user can now manually define the maximum packet and window size, should they choose to in the event that they wish to obtain performance gains from a larger packet/window size. | ||||
* | Version bumpv2.6.6 | delano | 2013-03-03 | 1 | -1/+1 |
| | |||||
* | This should fix #85. | Jan Segre | 2013-03-02 | 1 | -6/+2 |
| | | | | | It's prefered to fallback to the newer api instead of checking for versions before 1.9 and 1.9 and leaving others open to breakage. | ||||
* | Fixed path in gemspec [thanks priteau]v2.6.5 | delano | 2013-02-06 | 1 | -1/+1 |
| | |||||
* | add license information to gemspec [jordimassaguerpla] | delano | 2013-02-06 | 1 | -4/+4 |
|\ | |||||
| * | Merge pull request #74 from kachick/improve/remove_warnings | Delano Mandelbaum | 2013-01-11 | 1 | -4/+4 |
| |\ | | | | | | | Remove a warning "shadowing outer local variable - type" | ||||
| | * | Remove a warning "shadowing outer local variable - type" | Kenichi Kamiya | 2013-01-11 | 1 | -4/+4 |
| | | | |||||
* | | | Added public cert | delano | 2013-02-06 | 1 | -1/+1 |
|/ / | |||||
* | | Version Bump (2.6.3)v2.6.3 | delano | 2013-01-10 | 1 | -1/+1 |
| | | |||||
* | | Return correct ECError class for PKey::EC key type | Andreas Wolff | 2013-01-10 | 1 | -1/+1 |
| | | |||||
* | | Doc: Fix misspelled forwrd_agent option | Andreas Wolff | 2013-01-10 | 1 | -1/+1 |
|/ | |||||
* | Removing warnings | Carsten Dreesbach | 2012-12-23 | 9 | -10/+9 |
| | |||||
* | Merge pull request #65 from nelhage/async-disconnect | Delano Mandelbaum | 2012-11-22 | 1 | -1/+5 |
|\ | | | | | PacketStream: Properly detect disconnects in nonblocking reads. | ||||
| * | PacketStream: Properly detect disconnects in nonblocking reads. | Nelson Elhage | 2012-11-02 | 1 | -1/+5 |
| | | | | | | | | | | | | | | We see a bug where it's possible to get net-ssh into an infite loop spinning CPU after a connection has been closed. I am unable to reliably reproduce it, so I can't be positive this is the fix, but I have not seen a recurrence in our environment since adding this patch. | ||||
* | | Version bump (2.6.2)v2.6.2 | delano | 2012-11-22 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #68 from ohrite/jruby_key_size | Delano Mandelbaum | 2012-11-22 | 1 | -1/+1 |
|\ \ | | | | | | | Fix Invalid key size in JRuby | ||||
| * | | Fix Invalid key size in JRuby | Doc Ritezel | 2012-11-18 | 1 | -1/+1 |
| |/ | |||||
* | | Merge pull request #67 from ohrite/test_extended_data | Delano Mandelbaum | 2012-11-22 | 3 | -0/+19 |
|\ \ | | | | | | | Add stderr handling to Net::SSH::Test | ||||
| * | | Add stderr handling to Net::SSH::Test | Doc Ritezel | 2012-11-17 | 3 | -0/+19 |
| |/ | | | | | | | Add #gets_extended_data to the test flow | ||||
* | | Merge pull request #64 from mhuffnagle/master | Delano Mandelbaum | 2012-11-22 | 1 | -1/+2 |
|\ \ | |/ |/| | Net::SSH.start now returns result of block | ||||
| * | Net::SSH.start returns result of block | Marc Huffnagle | 2012-10-29 | 1 | -1/+2 |
| | | | | | | | | | | | | It's useful (and expected) to have the result of evaluating a block returned. Net::HTTP.start has this behavior, for example. Updated Net::SSH to have the same behavior. | ||||
* | | Merge branch 'master' into 2.6v2.6.1 | delano | 2012-10-18 | 1 | -1/+1 |
|\ \ | |||||
| * | | Changed encoding of file to prevent warnings when generating docs | Alexander Greim | 2012-09-20 | 1 | -1/+1 |
| | | | |||||
* | | | Version bump | delano | 2012-10-18 | 1 | -1/+1 |
|/ / | |||||
* | | Release 2.6.0v2.6.0 | delano | 2012-09-19 | 1 | -2/+2 |
| | | |||||
* | | Merge pull request #58 from nagachika/use_pkey_read | Delano Mandelbaum | 2012-09-19 | 1 | -11/+24 |
|\ \ | | | | | | | Use OpenSSL::PKey.read to read arbitrary private key. | ||||
| * | | Use OpenSSL::PKey.read to read arbitrary private key from DER-/PEM-encoded file. | Chikanaga Tomoyuki | 2012-09-05 | 1 | -11/+24 |
| |/ | | | | | | | | | OpenSSL::PKey.read was introduced from 1.9.3. This helps to load private keys generated by `openssl req -newkey` command. | ||||
* | | Merge pull request #50 from no6v/wo/UNIXSocket | Delano Mandelbaum | 2012-09-19 | 1 | -1/+1 |
|\ \ | | | | | | | check an availability of UNIXSocket and UNIXServer | ||||
| * | | check an availability of UNIXSocket and UNIXServer | Nobuhiro IMAI | 2012-06-17 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #33 from dubspeed/master | Delano Mandelbaum | 2012-09-19 | 2 | -1/+38 |
|\ \ \ | | | | | | | | | Implementation of the "none"-authentication method | ||||
| * | | | added basic tests and completed adding the "none" authentication method | Michael Lennartz | 2012-01-17 | 1 | -4/+10 |
| | | | | |||||
| * | | | Added class for "none" authentication | Michael Lennartz | 2012-01-17 | 1 | -0/+31 |
| | | | |