aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src
AgeCommit message (Collapse)Author
2019-08-19Merge branch 'hans/ssh/gendoc/OTP-15395' into maintHans Nilsson
* hans/ssh/gendoc/OTP-15395: ssh: Use new ssh_connection:event() type in channel defs ssh: change type names ssh: The ssh_connection documentation is now generated ssh: Update ssh_sftp:start_channel documentation and code ssh: The ssh_sftp documentation is now generated ssh: The ssh_sftpd documentation is now generated
2019-08-19Merge branch 'hans/ssh/remove_unused_rec_fields/OTP-15984' into maintHans Nilsson
* hans/ssh/remove_unused_rec_fields/OTP-15984: ssh: Remove unused address,port from #connection{} ssh: Remove unused port_bindings from #connection{}
2019-08-19Merge branch 'hans/ssh/early_crash_fail_logging/ERL-990/OTP-15962' into maintHans Nilsson
* hans/ssh/early_crash_fail_logging/ERL-990/OTP-15962: ssh: Don't assume Reason to be a string()
2019-08-16ssh: Don't assume Reason to be a string()Hans Nilsson
2019-08-14ssh: Remove unused address,port from #connection{}Hans Nilsson
2019-08-14ssh: Remove unused port_bindings from #connection{}Hans Nilsson
2019-08-12ssh: Use new ssh_connection:event() type in channel defsHans Nilsson
2019-08-12ssh: change type namesHans Nilsson
2019-08-12ssh: The ssh_connection documentation is now generatedHans Nilsson
2019-08-12ssh: Update ssh_sftp:start_channel documentation and codeHans Nilsson
The Typing in the old documentation was not up-to-date. The option handling and definition is slightly re-worked in the code also. Some comments added and a function moved inside the module.
2019-08-12ssh: The ssh_sftp documentation is now generatedHans Nilsson
2019-08-12ssh: The ssh_sftpd documentation is now generatedHans Nilsson
2019-07-30Merge branch 'hans/ssh/early_crash_fail_logging/ERL-990/OTP-15962' into maintHans Nilsson
* hans/ssh/early_crash_fail_logging/ERL-990/OTP-15962: ssh: added log/4 ssh: Fix log problem in early stages of initialization ssh: Fix potential crash if failure in init of client
2019-06-28ssh: added log/4Hans Nilsson
2019-06-28ssh: Fix log problem in early stages of initializationHans Nilsson
2019-06-28ssh: Fix potential crash if failure in init of clientHans Nilsson
If ssh_connection_handler:init/1 failed (= returned {stop,Error}) there where no supervisors defined. That caused a Crash report instead of a sensible logging and normal error return. Servers are not affected of this.
2019-06-27Merge pull request #2297 from bitcrowd/ssh/remove-unused-definitionsHans Nilsson
Remove unused SSH definitions OTP-15929
2019-06-26ssh: Fix spec/doc error for subsystem_specsHans Nilsson
2019-06-25Remove unused "ssh_assert" macro definitionPaul Meinhardt
2019-06-25Remove unused "ssh_key" record definitionPaul Meinhardt
2019-06-10Testing two PRsHans Nilsson
Merge commit '508ddd5aaa189ddcf7a06f4342c187b07ec1734a'; commit '5160870a868bfcb29bd8f1a2c12b7b7b7963d946' into hans/ssh/PRs * commit '508ddd5aaa189ddcf7a06f4342c187b07ec1734a': Remove duplication of SSH encoding macros * commit '5160870a868bfcb29bd8f1a2c12b7b7b7963d946': Remove duplicate ssh_userauth.hrl
2019-06-06Remove duplication of SSH encoding macrosPaul Meinhardt
2019-06-06Remove duplicate ssh_userauth.hrlPaul Meinhardt
The `ssh_userauth.hrl` header file was a duplicate of `ssh_auth.hrl` not used anywhere except for the ssh benchmark suite.
2019-05-10Prepare releaseErlang/OTP
2019-05-02ssh: Prepare for release - runtime dependenciesHans Nilsson
2019-04-24Merge branch 'maint'Hans Nilsson
* maint: ssh: Dump 64 bytes in case of unexpected info line ssh: Add hexdump utility in ssh_dbg
2019-04-18ssh: Dump 64 bytes in case of unexpected info lineHans Nilsson
2019-04-18ssh: Add hexdump utility in ssh_dbgHans Nilsson
2019-04-18Merge branches 'hans/crypto/new_supports_1/OTP-15771', ↵Hans Nilsson
'hans/ssh/new_supports', 'hans/crypto/remove_warnings' and 'hans/ssh/remove_warnings' * hans/crypto/new_supports_1/OTP-15771: crypto: New function supports/1 * hans/ssh/new_supports: ssh: Use new api for aead ciphers ssh: Use correct names of ciphers * hans/crypto/remove_warnings: ssh: Fix deprecation warnings in tests crypto: Remove unused var warning in tests * hans/ssh/remove_warnings: ssh: Fix deprecation warnings in tests ssh: Remove unused function warning in tests ssh: Remove unused var warning in tests ssh: Remove unused var warning
2019-04-17ssh: Remove unused var warningHans Nilsson
2019-04-17ssh: Use new api for aead ciphersHans Nilsson
2019-04-17ssh: Use correct names of ciphersHans Nilsson
aes_cbc -> aes_128_cbc aes_gcm -> aes_128_gcm, aes_256_gcm
2019-04-12Merge branch 'maint'Hans Nilsson
* maint: ssh: Present peername for accept_callback fun also for Sockets ssh: Add ssh_channel:init/1
2019-04-12Merge branch 'hans/ssh/accept_callback_socket/OTP-15763' into maint-21Hans Nilsson
* hans/ssh/accept_callback_socket/OTP-15763: ssh: Present peername for accept_callback fun also for Sockets
2019-04-11ssh: Present peername for accept_callback fun also for SocketsHans Nilsson
2019-04-11ssh: Add ssh_channel:init/1Hans Nilsson
that was misstakeingly lost when introducing ssh_client_channel.erl
2019-04-05ssh: Use new crypto function namesHans Nilsson
2019-03-19ssh: Use the exceptions as error return changeHans Nilsson
2019-03-19ssh: Use new crypto APIHans Nilsson
2019-01-04Fix sftpd interop for SSH_FXP_STATKristoffer Larsen
Some SFTP client's have been discover to claim one version of the protocol and send messages in a different version. In the spirit of Postel's law, we can for SSH_FXP_STAT, ignore the differences in the protocol, as we are not doing anything with the flags anyway.
2018-12-27Merge branch 'hans/ssh/port_leak/OTP-15397' into maint-21Erlang/OTP
* hans/ssh/port_leak/OTP-15397: ssh: Fix port leakage for daemons failing at start ssh: Add port close test # Conflicts: # lib/ssh/test/ssh_basic_SUITE.erl
2018-12-21ssh: Fix port leakage for daemons failing at startHans Nilsson
2018-11-19Merge branch 'hans/ssh/eddsa/OTP-15094' into maintHans Nilsson
* hans/ssh/eddsa/OTP-15094: ssh: Add Edward curves to the documentation ssh: Update test cases for eddsa ssh: Add public keys 'ssh-ed25519' and 'ssh-ed448'
2018-11-19ssh: Make host and user key pre-checking betterHans Nilsson
This will prevent crashes in ssh_file for public key types which have no passphrase option although being supported. Also centralize host key checking to avoid code duplication. This was already done for user keys.
2018-11-19ssh: Generalize unpublished test support optionHans Nilsson
Also rename the corresponding testcase in ssh_options_SUITE and add logging.
2018-11-19ssh: Cleaning and polishing of ssh_authHans Nilsson
No intentional api changes. Only to make the code less hard to read.
2018-11-19ssh: Add a common key_cb call functionHans Nilsson
2018-11-19ssh: Add public keys 'ssh-ed25519' and 'ssh-ed448'Hans Nilsson
Requires OpenSSL-1.1.1 https://tools.ietf.org/html/draft-ietf-curdle-ssh-ed25519-ed448-00
2018-11-09ssh: Fix documentation for public key in ext_infoHans Nilsson
2018-11-09Merge branch 'hans/ssh/fix_ext_info/OTP-15413' into maintHans Nilsson
* hans/ssh/fix_ext_info/OTP-15413: ssh: Fix ssh_options checking for ext_info ssh: Fix SSH_MSG_EXT_INFO bug for OTP SSH as server ssh: Fix SSH_MSG_EXT_INFO bug for OTP SSH as client