summaryrefslogtreecommitdiff
path: root/lib/net/ssh/proxy
Commit message (Collapse)AuthorAgeFilesLines
* Whitespace fixeswhitespace-fixesMiklos Fazekas2018-03-215-16/+25
|
* Updated rubocopMiklos Fazekas2018-03-217-304/+305
|
* Handle ProxyCommand child in case of timeout and exceptionDima2018-03-041-6/+20
|
* Remove Net::SSH::Compat.io_selectMarcus Ilgner2017-09-071-1/+1
| | | | | Despite the comment, it was not doing anything anymore except invoking the default `IO.select`.
* Close transport on proxy errorAdam Ruzicka2017-06-211-1/+2
|
* Add Proxy::Jump to simulate ProxyJump option in ssh_configRyan McGeary2017-02-101-0/+53
|
* Use 1.9 hash syntaxMiklos Fazekas2016-12-111-5/+5
|
* Support HTTP Proxy on SSL socketMarcus Ilgner2016-10-152-4/+56
| | | | | | | Since the HTTP Proxy only supports BASIC authentication, this adds the required infrastructure to net-ssh to connect to a SSL-enabled server. Closes: #432
* Merge pull request #279 from svacko/modify-proxy-usage-exampleMiklós Fazekas2016-03-191-2/+2
|\ | | | | Modify proxy usage example
| * Modify proxy usage exampleStanislav Bocinec2015-11-031-2/+2
| |
* | Bugfix: proxy command was using nonblocking io api incorrectly causing rare ↵Miklos Fazekas2015-12-101-2/+17
|/ | | | | | IO::EAGAIN errors FIXES #122
* use Socket.tcp with connect_timeout in all Proxy classesCarl Hörberg2015-05-263-5/+8
|
* Remove `class << io ... end` since not threadsafeMatt Brictson2015-05-131-17/+15
| | | | | | | | | In MRI, defining singleton methods using `class << obj... def` is not threadsafe. To work around this issue, use an alternative syntax that is threadsafe: `def obj.method`. This fixes a NoMethodError that would occasionally pop up in multithreaded usage of net-ssh: NoMethodError: undefined method `recv' for #<IO:fd 47>.
* Use sysread and syswrite on Windows instead of read_nonblock and ↵Marc-Etienne M.Léveillé2014-06-181-5/+18
| | | | write_nonblock in proxy command pipe (#168)
* Merge pull request #139 from yugui/feature/follow-proxy-command-spec-rDelano Mandelbaum2014-02-014-4/+11
|\ | | | | Support %r in ProxyCommand configuration in ssh_config files as defined in OpenSSH.
| * Support %r in ProxyCommand configuration in ssh_config filesYuki Yugui Sonoda2014-01-144-4/+11
| | | | | | | | as defined in OpenSSH.
* | Fix "ConnectionError" typoIssei Naruta2013-11-211-1/+1
|/
* Guard against socket.gets being nilKris Hicks2013-07-081-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.
* Do not put a command line twice in error messages.Akinori MUSHA2009-11-111-2/+2
|
* Add Net::SSH::Proxy::Command.Akinori MUSHA2009-11-101-0/+75
|
* Re-added refactored fix for hanging in ServerVersion#negotiate! when using ↵delano2009-08-121-5/+18
| | | | SOCKS5 proxy [Gerald Talton]. Closes GH-9
* Removed SOCK5 negotiate fix from Net::SSH::Proxy::SOCKS5 and applied a new ↵delano2009-08-101-21/+5
| | | | fix to ServerVersion#negotiate!
* Applied patch for Socks5 negotiation fix [Gerald Talton]delano2009-08-101-5/+21
|
* Don't use String#[] to get bytesJamis Buck2008-09-061-1/+2
|
* more docs for Connection::Term. Docs for the connection proxy implementations.Jamis Buck2008-03-214-26/+97
|
* fix typoJamis Buck2007-08-161-1/+1
| | | | git-svn-id: http://svn.jamisbuck.org/net-ssh/branches/v2@188 1d2a57f2-1ded-0310-ad52-83097a15a5de
* Add http, socks4, and socks5 proxy wrappersJamis Buck2007-08-164-0/+235
git-svn-id: http://svn.jamisbuck.org/net-ssh/branches/v2@187 1d2a57f2-1ded-0310-ad52-83097a15a5de