aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src/ssh.erl
AgeCommit message (Collapse)Author
2014-09-25ssh: Adjust supervisor tree to make sure new listningIngela Anderton Andin
options are honored
2014-08-22Test Other Clauses of start_shellMichael K. Schmidt
start_shell() is called by exec, so test those cases as well. Also add support for passing a fun to exec.
2014-06-12Fix spelling mistakesMarcus Arendt
2014-06-11ssh: Handle inet and inet6 option correctlyIngela Anderton Andin
2014-05-09ssh: Use correct timeout value for the connection timeoutIngela Anderton Andin
2014-04-24ssh: Add max_session parameter to ssh:daemonHans Nilsson
2014-03-26ssh: added daemon option 'parallel_login', default falseHans Nilsson
2014-03-26ssh: Added option negotiation_timeout for ssh:daemonHans Nilsson
This option is for closing a connection where the client connects, but then do nothing except keeping server resources.
2014-02-14Merge branch 'weisslj/ssh-spec-doc-fixes'Henrik Nord
* weisslj/ssh-spec-doc-fixes: ssh: Fix dialyzer type specs and documentation OTP-11705
2014-01-28Fix incorrect proplists type referenceTuncer Ayaz
ssh and public_key were referring to proplists:proplists/0 which does not exist. Fix by using the correct type proplists:proplist/0.
2014-01-27ssh: Fix dialyzer type specs and documentationJohannes Weißl
Similar to d9ebfb8. The wrong specs were leading to dialyzer warnings like this in our application since R16B03: The pattern 'ok' can never match the type {'error',_}. The pattern {'error', {'already_started', 'ssh'}} can never match the type 'ok'. The pattern {'error', _} can never match the type {'open_error',_,string(),string()}.
2013-11-13ssh: Add option to disallow CLIIngela Anderton Andin
OTP-10976
2013-11-13ssh: Simplify handling of connection attributes (e.i. user and sockname)Ingela Anderton Andin
OTP-11296
2013-11-13ssh: Make inet option configurable and remove ipv6_disabled optionIngela Anderton Andin
2013-11-13ssh: Merge connection_manager and connection_handler processesIngela Anderton Andin
Also start adding dialyzer specs and removing dead code
2013-10-28ssh: Add ssh:sockname/1 incl doc and testsHans Nilsson
OTP-11345, sto575, tsk374
2013-10-28ssh: Add function ssh:peername/1 with testHans Nilsson
OTP-11345, sto575, tsk374
2013-06-07public_key & ssl: Add ASN-1 dependencyIngela Anderton Andin
As the ASN-1 application relies on a nif in R16 for decodeing (that was not the case in R15), public_key currently has a runtime dependency on ASN-1. Hopefully we will be able to remove this dependency again in the future.
2013-01-25Update copyright yearsBjörn-Egil Dahlberg
2013-01-22Removed deprecated functionsFredrik Gustafsson
2013-01-22handle_pref_algs with correct return valuesFredrik Gustafsson
2013-01-18Fixed bug which lead to crash in startup of daemon, if port was in useFredrik Gustafsson
2012-12-19Merge branch 'fredrik/ssh/rekeying'Fredrik Gustafsson
* fredrik/ssh/rekeying: ssh_basic_SUITE rekey test modifications Modifications to idle_time testcase Added test for rekeying Added doc for rekey_limit option Renegotiating every hour and every gb sent, can be decreased with option {rekey_limit, integer()}
2012-12-13ssh: Document and clean up SSH behavioursIngela Anderton Andin
2012-12-13ssh: Add Users Guide and enhance man pagesIngela Anderton Andin
2012-12-13ssh: Added User's Guide framework and minor enhancementsNiclas Eklund
2012-11-23Renegotiating every hour and every gb sent, can be decreased with option ↵Fredrik Gustafsson
{rekey_limit, integer()}
2012-11-22Merge branch 'maint'Fredrik Gustafsson
* maint: is_boolean/1 is called instead of checking Removed ip options to gen_tcp from ssh.erl
2012-11-21is_boolean/1 is called instead of checkingFredrik Gustafsson
2012-11-20Removed ip options to gen_tcp from ssh.erlFredrik Gustafsson
2012-11-16Merge branch 'fredrik/ssh/timer-on-connect/OTP-10514'Fredrik Gustafsson
* fredrik/ssh/timer-on-connect/OTP-10514: New setup in testing idle_time Use same connect as the rest of testcases Fixed doc Added testcase for idle timer Not start the idle timer on connect Doc about idle_time option to ssh:connect Check cache on channel exec handle no idle-timer on check cache Option idle_time introduced, it will trigger the timer and if it is not given the timer_ref entry is infinity Timeout after 1h of idle on connection, which exits the connection Conflicts: lib/ssh/src/ssh.erl
2012-11-15Fixed user interaction sshFredrik Gustafsson
2012-11-05SSH quiet modeFredrik Gustafsson
2012-11-02Option to ssh:connect {pref_public_key_algs, list()} where you can give the ↵Fredrik Gustafsson
algorithms you want to use
2012-10-31Option idle_time introduced, it will trigger the timer and if it is not ↵Fredrik Gustafsson
given the timer_ref entry is infinity
2012-08-28ssh: Correct error handling of ssh connectIngela Anderton Andin
2012-08-01SSH: Make "auth_methods" server option re-usableStefan Zegenhagen
The 'auth_methods' option is used by the server side of the SSH code to tell a connecting SSH client about the authentication methods that are supported by the server. The code still extracts and handles the 'auth_methods' option from Opts in appropriate places, but the Opts checking code in ssh.erl didn't allow that option to be specified.
2012-04-24Corrected ssh option handlingIngela Anderton Andin
The option ip_v6_disabled and the undocumented option exec was incorrectly handled by the option checking code. There where two options for allowing user interaction one documented and one undocumented, they where merge to to be the documented one. For backwards compatibility the undocumented one is transformed to the documented one in the option checking code.
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-15Add support for key files protected by pass phrasesIngela Anderton Andin
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-10Removed no longer needed codeIngela Anderton Andin
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-04-21Changes after ssh-1.1.8Niclas Eklund
2010-04-21New branch for ssh-2.0 and laterNiclas Eklund
2010-03-30Exporting ssh:connect/4Niclas Eklund