summaryrefslogtreecommitdiff
path: root/lib/net/ssh/authentication/session.rb
Commit message (Collapse)AuthorAgeFilesLines
* Added support for RSA client authentication with SHA-2Zdenek Zambersky2021-11-181-1/+3
|
* Fix rubocop coding style.Florian Wininger2021-10-251-2/+2
| | | | Lot of spacing issues :)
* Fix empty line for code clarityFlorian Wininger2021-07-011-1/+2
|
* Fix rubocop issue with last versionFlorian Wininger2021-07-011-14/+12
|
* Support :certkeys and CertificateFile configuration optionAnders Carling2019-10-291-0/+7
|
* Remove unnecessary defined?(OpenSSL::PKey::EC) and ↵Florian Wininger2019-08-231-6/+2
| | | | | | defined?(OpenSSL::Digest::SHA256) Signed-off-by: Florian Wininger <fw.centrale@gmail.com>
* load default public keyMiklos Fazekas2018-06-031-0/+1
|
* when key_data option is present we should not try to use default keysJosh Larson2018-03-221-29/+29
|
* Whitespace fixeswhitespace-fixesMiklos Fazekas2018-03-211-1/+3
|
* Updated rubocopMiklos Fazekas2018-03-211-138/+140
|
* Refactor prompting to a class that can be customizedMiklos Fazekas2016-04-081-1/+2
| | | | Fixes: #91, and fixes #254, and fixes #293
* on_open_failed should tell the session to remove the socket from event loop ↵Miklos Fazekas2016-03-061-1/+1
| | | | before closing it
* Make Net::SSH.start `user` default to Etc.getlogin if it's nil and config ↵mexisme2015-12-101-3/+0
| | | | | | | did not specify default. FIXES #281 CLOSES #282
* # This is a combination of 2 commits.mexisme2015-12-101-0/+3
| | | | | | | | | | | | | | | | | | | # The first commit's message is: Don't require Net::SSH.start to have a `user` argument SSH defaults to using the local-client user's username if one isn't provided. This allows ayou to omit the `username` (or pass `nil`) to get Net::SSH to use the same default. FIXES #281 # This is the 2nd commit message: Update doc-comments for `nil` username. FIXES #281
* Add Ed25519 to private key listChris Aumann2014-04-161-2/+2
|
* Change private key order to prefer RSA oder DSAChris Aumann2014-04-161-2/+2
| | | | | RSA is more secure, due to longer cipher lengths. 1024bit (DSA default) should not be used anymore.
* added default that match openssh ssh_config defaultsJesse Sanford2014-01-171-1/+1
|
* Fix for "Authentication Method determination can pick up a class from the ↵Dave2013-09-231-0/+1
| | | | root namespace". Added a require for the 'none' authentication method in session.rb.
* Removing warningsCarsten Dreesbach2012-12-231-2/+2
|
* Merge pull request #33 from dubspeed/masterDelano Mandelbaum2012-09-191-1/+1
|\ | | | | Implementation of the "none"-authentication method
| * Added the "none" authentication type as of RFC 4252 / Sec. 5.2Michael Lennartz2012-01-171-1/+1
| |
* | implement many algorithmsRyosuke Yamazaki2012-03-261-4/+12
|/ | | | | | | | | | | | | | | | | | | | * Key Exchange * diffie-hellman-group14-sha1 * ecdh-sha2-nistp{256,384,521} * Host Key * ecdsa-sha2-nistp{256,384,521} * Authentication * ecdsa-sha2-nistp{256,384,521} * HMAC * hmac-ripemd160 * Cipher: * aes{128,192,256}-ctr * camellia{128,192,256}-ctr * blowfish-ctr * cast128-ctr * 3des-ctr * arcfour (has problems with weak keys, and should be used with caution) * camellia{128,192,256}-cbc
* Avoid dying when unsupported auth mechanisms are defined (e.g. kerberos-related)Peter C. Norton2011-12-231-1/+6
|
* Fix for Net::SSH Continues to attempt authentication when notified it is not ↵delano2011-03-011-6/+13
| | | | allowed
* Add :key_data option for specifying raw private keys in PEM formatJamis Buck2009-02-121-1/+8
|
* teach the key manager about a handful of default key namesJamis Buck2008-05-021-1/+12
|
* tweak Francis' patch to suit my own preferences (sorry Francis, but thanks ↵Jamis Buck2008-04-181-1/+1
| | | | for the original patch!)
* Use a new option :passphrase as the possible password phrase for any ↵Francis Sullivan2008-04-161-1/+1
| | | | encrypted keys.
* If a password is given as an option, and a publickey needs a password, first ↵Francis Sullivan2008-04-131-1/+1
| | | | try that password before prompting.
* more documentation. flesh out the docs on Net::SSH::Connection::Channel a ↵Jamis Buck2008-03-201-1/+6
| | | | bit more, to be more helpful as rdoc and ri docs
* refactor the log levelsJamis Buck2008-03-171-3/+3
|
* Starting to document everythingJamis Buck2007-08-171-1/+19
| | | | git-svn-id: http://svn.jamisbuck.org/net-ssh/branches/v2@190 1d2a57f2-1ded-0310-ad52-83097a15a5de
* authentication session testsJamis Buck2007-08-141-4/+3
| | | | git-svn-id: http://svn.jamisbuck.org/net-ssh/branches/v2@175 1d2a57f2-1ded-0310-ad52-83097a15a5de
* Add a default prompt for keyboard-interactive and key loading. Tries ↵Jamis Buck2007-08-101-2/+5
| | | | | | HighLine and Termios, and falls back to clear text if neither are available. git-svn-id: http://svn.jamisbuck.org/net-ssh/branches/v2@147 1d2a57f2-1ded-0310-ad52-83097a15a5de
* add support for zlib and zlib@openssh.com compressionJamis Buck2007-08-091-1/+5
| | | | git-svn-id: http://svn.jamisbuck.org/net-ssh/branches/v2@141 1d2a57f2-1ded-0310-ad52-83097a15a5de
* auth agent forwardingJamis Buck2007-07-271-0/+2
| | | | git-svn-id: http://svn.jamisbuck.org/net-ssh/branches/v2@129 1d2a57f2-1ded-0310-ad52-83097a15a5de
* keyboard-interactiveJamis Buck2007-07-241-2/+4
| | | | git-svn-id: http://svn.jamisbuck.org/net-ssh/branches/v2@118 1d2a57f2-1ded-0310-ad52-83097a15a5de
* Add v2 branchJamis Buck2007-07-241-0/+83
git-svn-id: http://svn.jamisbuck.org/net-ssh/branches/v2@117 1d2a57f2-1ded-0310-ad52-83097a15a5de