aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src
AgeCommit message (Collapse)Author
2012-02-28Prevent client hanging. (OTP-8111)Ingela Anderton Andin
Restored supervisor tree so that error propagation will work as intended, although connection processes are set to temporary, instead of permanent with restart times set to 0, and termination of the connection subtree is initiated by a temporary process spawned by ssh_connection_managers terminate. This is done to avoid unwanted supervisor reports. Pherhaps we need some new supervisor functionality.
2012-02-21Added checks of API inputIngela Anderton Andin
2012-02-20Improve check so that we will not try to read ssh packet length indicator if ↵Ingela Anderton Andin
not sure we have enough data. OTP-8380
2012-02-17Improved error handlingIngela Anderton Andin
2012-02-15Add support for key files protected by pass phrasesIngela Anderton Andin
2012-02-14Merge branch 'ia/ssh/crash-report-with-impatient-SFTP-client/OTP-9391' into ↵Ingela Anderton Andin
maint * ia/ssh/crash-report-with-impatient-SFTP-client/OTP-9391: Avoid to crash if the remote side closes the connection prematurely
2012-02-14Merge branch 'ia/ssh/keyboard-interactive-disable-bug/OTP-9466' into maintIngela Anderton Andin
* ia/ssh/keyboard-interactive-disable-bug/OTP-9466: Client now honors the allow_user_interaction option
2012-02-13Add behaviour (api) module with callback specsGustav Simonsson
Function parameter and return type specifications for the public key functions
2012-02-13Client now honors the allow_user_interaction optionIngela Anderton Andin
2012-02-13Avoid to crash if the remote side closes the connection prematurelyIngela Anderton Andin
2012-02-10Correct access flag handling in sftpdIngela Anderton Andin
Also Moved app test to ssh_basic_SUITE There is no reason to have a separate suite for the app test it increases maintenance costs
2012-02-10Client fallbacks to ipv4 if connection is refused with ipv6Ingela Anderton Andin
2012-02-10Cleaned up code so that ssh_file can become a template for a documentedIngela Anderton Andin
ssh_keys behavior
2012-02-10Better handling of IPv6Ingela Anderton Andin
2012-02-10Ssh daemon handles RSA host keysIngela Anderton Andin
Solves OTP-7677
2012-02-10Removed no longer needed codeIngela Anderton Andin
2012-02-10Use the public_key application for all public key handlingIngela Anderton Andin
Also improved test suites to avoid copying of users keys to test server directories as this is a security liability
2011-12-09Update copyright yearsBjörn-Egil Dahlberg
2011-12-08Use new directive "-callback" and prepare version and appup for releaseIngela Anderton Andin
2011-11-10Remove exec bit from: erl, hrl, xml, html, asn, gif, xpmRicardo Catalinas Jiménez
2011-08-25Merge branch 'dev' into majorHenrik Nord
2011-08-08ssh: Support parallel makeBjörn Gustavsson
2011-06-21Corrected year in license header.Niclas Eklund
2011-06-21OTP-9386 - Calling ssh_sftp:stop_channel/1 resulted in that the trap_exit ↵Niclas Eklund
flag was set to true for the invoking process.
2011-05-06An unexpected message would crash the ssh_connection_handler and close the ↵Niclas Eklund
connection. Now an error message is generated instead.
2011-04-27OTP-9232:Niclas Eklund
A memory leak has been fixed. I.e. per terminated connection the size of a pid and the length of a user name string was not cleared.
2011-04-20Merge branch 'maint-r14' of super:otp into nick/ssh/memory_leak/OTP-9232Niclas Eklund
2011-04-20Added deletion of clients to be used when a session is terminated.Niclas Eklund
2011-04-19Renamed the function strong_rand_uniform to strong_rand_mpint.Niclas Eklund
Added some checks in crypto.erl and crypto.c. Changed ssh_bits to use strong_rand_mpint.
2011-04-18Fixed SSH appup, copyright headers SSH vsn and SSH release note.Niclas Eklund
2011-04-15Adds NIFs for cryptographically strong random number generation.Niclas Eklund
Also adds documentation and unit tests. Thanks to Geoff Cant.
2011-03-11Update copyright yearsBjörn-Egil Dahlberg
2011-01-24Merge branch 'nick/ssh/sign-verify-binary' into maint-r14Erlang/OTP
* nick/ssh/sign-verify-binary: Updated appup file. Updated notes file. Changed year in copyright header. Added updated modules to the appup file. Improved error handling for ssh:connect/3/4. Release note contained wrong ticker number. OTP-8987 In some cases SSH returned {error, normal} when a channel was terminated unexpectedly. This has now been changed to {error, channel_closed}.
2011-01-24Merge branch 'nick/ensure_ssh_dir_exists/OTP-9010' into maint-r14Erlang/OTP
* nick/ensure_ssh_dir_exists/OTP-9010: Updated appup file. Updated notes file. Updated year in license. OTP-9010: ssh: ensure ~/.ssh exists
2011-01-20Updated appup file.Niclas Eklund
2011-01-20Updated appup file.Niclas Eklund
2011-01-20Added updated modules to the appup file.Niclas Eklund
2011-01-20Added updated modules to the appup file.Niclas Eklund
2011-01-17OTP-9031 - SSH did not handle the error reason enetunreach when trying to ↵Niclas Eklund
open a IPv6 connection.
2010-12-28ssh: ensure ~/.ssh existsTuncer Ayaz
Make sure that ~/.ssh exists before trying to open files like ~/.ssh/known_hosts. Reported-By: Daniel Goertzen
2010-12-27Improved error handling for ssh:connect/3/4.Niclas Eklund
2010-12-20OTP-8987Niclas Eklund
In some cases SSH returned {error, normal} when a channel was terminated unexpectedly. This has now been changed to {error, channel_closed}. OTP-8986 It is now possible to use SSH to sign and verify binary data.
2010-11-01Move away from using deprecated public_key function pem_to_der.Niclas Eklund
2010-10-28Merge branch 'maint-r13' into maint-r14Niclas Eklund
Conflicts: lib/ssh/doc/src/notes.xml lib/ssh/src/ssh.appup.src lib/ssh/src/ssh_system_sup.erl lib/ssh/vsn.mk
2010-10-25The fix regarding OTP-8863 was not included in the previous version as statedNiclas Eklund
2010-10-21Merge branch 'nick/ssh/fix-process-leak/OTP-8807' into maint-r13Erlang/OTP
* nick/ssh/fix-process-leak/OTP-8807: Fix race condition when terminating a connection. fix process leak in ssh_system_sup (dynamicaly created childs where not cleaned up)
2010-10-06In some cases a crash report was generated when a connection was closing down.Niclas Eklund
This was caused by a race condition between two processes.
2010-09-03Merge branch 'nick/ssh/fix-process-leak/OTP-8807' into devnick
* nick/ssh/fix-process-leak/OTP-8807: Fix race condition when terminating a connection. fix process leak in ssh_system_sup (dynamicaly created childs where not cleaned up)
2010-09-02Fix race condition when terminating a connection.nick
2010-09-02fix process leak in ssh_system_sup (dynamicaly created childs where not ↵Stefan Grundmann
cleaned up) The ssh_system_sup supervisor supervises one ssh_subsystem_sup process for every client connection. There was no functionality to free resources (terminate_child/ delete_child) when a client connection was closed. Which lead to one ssh_subsystem_sup and one ssh_channel_sup process left over. This commit adds ssh_system_sup:stop_subsystem/2 and code that calls it in ssh_connection_manager:terminate/2.