summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 5.0.0.rc1 preparev5.0.0.rc1Miklos Fazekas2018-05-242-2/+5
|
* Merge pull request #599 from mfazekas/fix-4gb-scpMiklós Fazekas2018-05-241-7/+10
|\ | | | | Don't keep increasing local_window_size beyond limits
| * Don't keep increasing local_window_size beyond limitsMiklos Fazekas2018-05-241-7/+10
|/
* Merge pull request #595 from jaredbeck/verify_host_key_optionsMiklós Fazekas2018-05-2311-138/+213
|\ | | | | New options for :verify_host_key
| * New options for :verify_host_keyJared Beck2018-04-0411-87/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Deprecate some existing values, replacing them with a set of words that match the classes in the `Net::SSH::Verifiers` module. Values would be replaced as follows: - `false` becomes `:never`, - `true` becomes `:accept_new_or_local_tunnel`, - `:very` becomes `:accept_new`, and - `:secure` becomes `:always`. This is a nice improvement, improving data type consistency (they're all symbols) and expressiveness (they reveal the underlying classes). This change was preliminarily approved in https://github.com/net-ssh/net-ssh/issues/532
| * Trim trailing whitespaceJared Beck2018-04-041-51/+51
| |
* | Merge pull request #597 from Connorhd/patch-1Miklós Fazekas2018-05-231-1/+2
|\ \ | |/ |/| Update proxy to HTTP/1.1
| * Update proxy to HTTP/1.1Connor Dunn2018-04-091-1/+2
|/ | | Some proxy servers require HTTP/1.1 with a Host header.
* Merge pull request #593 from mfazekas/host-matchMiklós Fazekas2018-03-233-19/+75
|\ | | | | Add support for Host in Match config blocks
| * Add support for Host in Match config blocksMiklos Fazekas2018-03-233-19/+75
|/
* Beta2v5.0.0.beta2Miklos Fazekas2018-03-221-1/+1
|
* Merge pull request #591 from mfazekas/fingerprint_hashMiklós Fazekas2018-03-228-87/+117
|\ | | | | FingerprintHash SHA256|MD5
| * FingerprintHash SHA256|MD5Miklos Fazekas2018-03-228-87/+117
|/
* Merge pull request #590 from mfazekas/mac-hmacMiklós Fazekas2018-03-222-46/+47
|\ | | | | hmac instead of mac, confusing in networking environment
| * hmac instead of mac, confusing in networking environmentFlühmann Tobias, INI-ON-NTO-COY-NNI2018-03-222-46/+47
|/
* Merge pull request #589 from mfazekas/dont-use-defaults-when-keydataMiklós Fazekas2018-03-225-46/+229
|\ | | | | Dont use defaults when keydata
| * when key_data option is present we should not try to use default keysJosh Larson2018-03-225-46/+229
|/
* Merge pull request #588 from mfazekas/flat_mapMiklós Fazekas2018-03-211-28/+28
|\ | | | | removing unused arguments, flat_map better than map->flatten
| * removing unused arguments, flat_map better than map->flattenTiago Cardoso2018-03-211-28/+28
| |
* | Merge pull request #586 from net-ssh/whitespace-fixesMiklós Fazekas2018-03-2185-431/+561
|\ \ | |/ | | Whitespace fixes
| * Whitespace fixeswhitespace-fixesMiklos Fazekas2018-03-2185-431/+561
| |
* | Merge pull request #585 from mfazekas/sha-fingerprintMiklós Fazekas2018-03-216-67/+217
|\ \ | |/ | | Sha fingerprint
| * add sha256 key fingerprintingTom Maher2018-03-216-67/+217
|/
* Merge pull request #584 from mfazekas/rubocop-54Miklós Fazekas2018-03-21136-10334/+10222
|\ | | | | Updated rubocop
| * Fix test test issueMiklos Fazekas2018-03-212-54/+54
| |
| * Updated rubocopMiklos Fazekas2018-03-21136-10378/+10266
|/
* Updated public certv5.0.0.beta1Miklos Fazekas2018-03-112-8/+22
|
* Merge pull request #580 from mfazekas/fix-proxy-command-zombiesMiklós Fazekas2018-03-044-11/+48
|\ | | | | Handle ProxyCommand child in case of timeout and exception
| * Handle ProxyCommand child in case of timeout and exceptionDima2018-03-044-11/+48
|/
* Merge pull request #540 from fl0at/default_files_sideeffectsMiklós Fazekas2018-02-282-2/+20
|\ | | | | Fixed side-effects caused by passing by reference
| * Merge branch 'master' into default_files_sideeffectsMiklós Fazekas2018-02-0629-143/+248
| |\
| * | Added unit testsScott Paeth2017-07-212-1/+20
| | | | | | | | | | | | | | | | | | Specifically: references to default_files and default_auth_methods shouldn't modify the class variables, so we're asserting whether the before and after states are equal.
| * | Fixed side-effects caused by passing by referenceScott Paeth2017-07-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Net::SSH::Config::default_files method is supposed to "return an array of locations" to parse by default. However, it currently returns a **reference** to the actual `@@default_files` instance variable, meaning that any API consumers who `Enumerable#shift`, `pop`, or otherwise modify the returned Array are actually **__modifying the state of the `Net::SSH` library as a whole__**, meaning that subsequent uses cannot use the same array. I found this because I use `Net::SSH.start` by itself (eg, automagically getting configuration), but ran into problems when I added this block in front, where I'm simply loading the files to find whether the new option `IdentityAgent` is set. (Eg, I'm not otherwise using/`::translate`ing the loaded options) ```ruby raw_opts = {} opt_files = Net::SSH::Config.default_files while (file = opt_files.shift) raw_opts = Net::SSH::Config.load(file, some_hostname, raw_opts) end identity_agent = raw_opts.fetch("identityagent", nil) Net::SSH.start(hostname, nil, verbose: :info) do |session| # ... do my regular stuff end ``` After I added that block, the attempted ssh session used the wrong username, etc, as if `#start` was no longer loading the config files. At first I assumed that `Net::SSH::Config.load` had side effects (documented or otherwise) but I couldn't see any evidence of that in the code. Imagine my surprise when I found the "pass by reference" problem in `::default_files`... My fix boiled down to this: `opt_files = Net::SSH::Config.default_files` -> `opt_files = Net::SSH::Config.default_files.clone` Hence the PR. I don't think it makes sense for anyone to be able to modify the internal state of Net::SSH... Feel free to reject this PR, in which case I'll make another one to adjust the docs instead, warning people of the side effects :-)
* | | Merge pull request #573 from mfazekas/fix-uninitialized-simple-delegatorMiklós Fazekas2018-02-081-0/+1
|\ \ \ | | | | | | | | Fix uninitialized SimpleDelegator
| * | | Fix uninitialized SimpleDelegatorMiklos Fazekas2018-02-081-0/+1
|/ / /
* | | Merge pull request #571 from Try2Code/masterMiklós Fazekas2018-02-081-2/+2
|\ \ \ | |_|/ |/| | Fix for current arch linux box using openssl-1.1.0g
| * | Fix for current arch linux box using openssl-1.1.0gRalf Mueller2018-02-081-2/+2
|/ / | | | | | | relative to net-ssh version 4.2.0 (released as gem)
* | Merge pull request #547 from vacuum-car/masterMiklós Fazekas2018-02-061-1/+1
|\ \ | | | | | | fix typo: Unkown => Unknown
| * | fix typo: Unkown => Unknownvacuum-car2017-09-191-1/+1
| | |
* | | Merge pull request #546 from busterb/fix-testsMiklós Fazekas2018-02-061-10/+10
|\ \ \ | | | | | | | | disable broken rubies, update rubies with security issues
| * \ \ Merge branch 'master' into fix-testsMiklós Fazekas2018-02-0623-105/+228
| |\ \ \
| * | | | disable broken ruby versions in tests, update othersBrent Cook2017-09-191-12/+10
| | |/ / | |/| |
* | | | Merge pull request #544 from milgner/feature/remove-io-compatMiklós Fazekas2018-02-066-25/+10
|\ \ \ \ | |_|/ / |/| | | Remove Net::SSH::Compat.io_select
| * | | Remove Net::SSH::Compat.io_selectMarcus Ilgner2017-09-076-25/+10
| |/ / | | | | | | | | | | | | Despite the comment, it was not doing anything anymore except invoking the default `IO.select`.
* | | Merge pull request #570 from mfazekas/openssl-aes-ctrMiklós Fazekas2018-02-064-14/+103
|\ \ \ | | | | | | | | Use OpenSSL for aes*-ctr
| * | | Update CHANGESMiklos Fazekas2018-02-061-0/+2
| | | |
| * | | Fix aes in case of resetMiklos Fazekas2018-02-062-9/+68
| | | |
| * | | fix rubocopMiklos Fazekas2018-02-061-1/+3
| | | |
| * | | Use OpenSSL for aes*-ctrMiklos Fazekas2018-02-062-5/+31
| | | |
* | | | Merge pull request #561 from chooper/chooper/fix-docsMiklós Fazekas2018-02-061-1/+1
|\ \ \ \ | |/ / / |/| | | Fix Net::SSH.start docs