aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src
AgeCommit message (Collapse)Author
2012-11-27Basic functionality for sftp ver6 and testcaseFredrik Gustafsson
2012-11-23Merge branch 'maint'Björn-Egil Dahlberg
2012-11-23Update copyright yearsBjörn-Egil Dahlberg
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-16Merge branch 'maint'Fredrik Gustafsson
* maint: Appup changes for SSH
2012-11-16Appup changes for SSHFredrik Gustafsson
2012-11-16Merge branch 'maint'Fredrik Gustafsson
* maint: Fixed if it is not the record to read from in read_password Fixed user interaction ssh
2012-11-16Fixed if it is not the record to read from in read_passwordFredrik Gustafsson
2012-11-15Fixed user interaction sshFredrik Gustafsson
2012-11-12Merge branch 'maint'Fredrik Gustafsson
* maint: Ssh appup modifications Updated appup for ssh Bumped revision Removed some testing variables ssh_opts is now a proper list After auth rsa and dsa passwords is set to undefined Removing the password after auth
2012-11-12Merge branch 'fredrik/ssh-password-conf/OTP-10511' into maintFredrik Gustafsson
* fredrik/ssh-password-conf/OTP-10511: Ssh appup modifications Updated appup for ssh Bumped revision Removed some testing variables ssh_opts is now a proper list After auth rsa and dsa passwords is set to undefined Removing the password after auth
2012-11-09Ssh appup modificationsFredrik Gustafsson
2012-11-08Merge branch 'maint'Fredrik Gustafsson
* maint: Doc for quiet_mode SSH quiet mode
2012-11-08Updated appup for sshFredrik Gustafsson
2012-11-05Merge branch 'maint'Fredrik Gustafsson
2012-11-05SSH quiet modeFredrik Gustafsson
2012-11-05Removed some testing variablesFredrik Gustafsson
2012-11-05ssh_opts is now a proper listFredrik Gustafsson
2012-11-05After auth rsa and dsa passwords is set to undefinedFredrik Gustafsson
2012-11-05Removing the password after authFredrik Gustafsson
2012-11-05Not start the idle timer on connectFredrik 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-31Check cache on channel execFredrik Gustafsson
2012-10-31handle no idle-timer on check cacheFredrik Gustafsson
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-10-31Timeout after 1h of idle on connection, which exits the connectionFredrik Gustafsson
2012-10-05Improve interoperability with SSH clientsStefan Zegenhagen
This patch fixes a few problems of the SSH shell server that affect the interoperability with SSH clients in widespread use. First problem is that, whenever a channel_request message is received with want_reply=true, the reply ends up being sent to the servers channel id, not the clients channel id. This causes the client to terminate the connection. The easiest solution to the problem appears to be a new function in ssh_connection_manager.erl that translates the servers channel id before sending the reply (in the same manner as other functions do it). Second problem is in ssh_cli.erl. When an SSH client sends a window_change request between PTY allocation and starting the shell (which appears to happen with some clients), ssh_cli.erl crashes because #state.buf is yet 'undefined'. Allocating an empty buffer at PTY allocation time solves the problem. Affected SSH clients: - all clients based on SSH-2.0-TrileadSSH2Java_213 (problem #1) - SSH Term Pro (problem #2)
2012-10-03ssh: Make test case platform independantIngela Anderton Andin
The test case interrupted_send did not work on all platforms. Also ct-ify the test suite
2012-10-03ssh: ssh_connection:channel_data() and send_eof() now return {error, closed} ↵Daniel Goertzen
for closed or invalid channels. ssh_connection:handle_msg(#ssh_msg_channel_close...) will now cause any send() that was in progress to immediately return {error,closed}.
2012-10-03ssh: Ensure that all data is sent before ssh:send returns.Daniel Goertzen
2012-10-01Merge branch 'dg/keyboard_interactive'Henrik Nord
* dg/keyboard_interactive: fix typo in keyboard-interactive string OTP-10456
2012-09-24ssh: Will not hang if you attempt to send empty binaryIngela Anderton Andin
2012-09-07fix typo in keyboard-interactive stringDaniel Goertzen
2012-08-29ssh: Increase robustnessIngela Anderton Andin
If a line of single line of the authorized_key file och known_hosts file is incorrectly formated ignore it.
2012-08-29Merge branch 'ia/ssh/prepare-for-release' into maintIngela Anderton Andin
* ia/ssh/prepare-for-release: ssh: Prepare for release
2012-08-29Merge branch 'ia/ssh/connection-start-error-handling' into maintIngela Anderton Andin
* ia/ssh/connection-start-error-handling: ssh: Correct error handling of ssh connect
2012-08-28ssh: Prepare for releaseIngela Anderton Andin
2012-08-28ssh: Correct error handling of ssh connectIngela Anderton Andin
2012-08-28ssh: Use the correct channel id when adjusting the channel windowIngela Anderton Andin
2012-08-27ssh: Correct dialyzer specsIngela 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-06-12Merge branch 'ia/ssh/missing-reason-in-catch-exit/OTP-10112' into maintIngela Anderton Andin
* ia/ssh/missing-reason-in-catch-exit/OTP-10112: Improved handling of multiple closes
2012-06-05Update to work with whitespace in exec pathLukas Larsson
OTP-10106 OTP-10107
2012-06-01Improved handling of multiple closesIngela Anderton Andin
exit:{normal} -> exit:{normal, _} this typo could sometimes cause a crash when trying to close a channel that was already closed.
2012-05-04The channel id in a channel failure message, sent to the peer, is now in all ↵Ingela Anderton Andin
cases the remote channel id
2012-04-27ssh: Fix parallel make for behavioursBjörn-Egil Dahlberg
2012-04-24Merge branch 'ia/ssh/options-check-OTP-10061' into maintIngela Anderton Andin
* ia/ssh/options-check-OTP-10061: Corrected ssh option handling