summaryrefslogtreecommitdiff
path: root/lib/ssh
Commit message (Collapse)AuthorAgeFilesLines
* Prepare releaseErlang/OTP2023-05-153-4/+48
|
* dbg: deprecates function dbg:stop_clear/1Kiko Fernandez-Reyes2023-04-191-1/+1
| | | | | | | | function `dbg:stop_clear/1` is not documented in the API but was kept for compatibility reasons. in this commit we make a step forward to deprecating its use such that it will be eventually removed. closes GH-6903.
* Revert "Prepare release"Henrik Nord2023-04-123-41/+4
| | | | This reverts commit d4e4511b19f4126d9271a6e3a8fa2eb716da7e85.
* Prepare releaseErlang/OTP2023-04-113-4/+41
|
* Revert "Prepare release"Henrik Nord2023-03-223-41/+4
| | | | This reverts commit 1cf126f91eb533783409da95b117207d8c13d9aa.
* Prepare releaseErlang/OTP2023-03-213-4/+41
|
* Update copyright yearErlang/OTP2023-03-211-1/+1
|
* Merge branch 'maint' into masterHenrik Nord2023-03-083-3/+51
|\ | | | | | | | | | | | | * maint: Updated OTP version Prepare release Update copyright year
| * Prepare releaseErlang/OTP2023-03-062-1/+49
| |
| * Update copyright yearErlang/OTP2023-03-0614-14/+14
| |
* | Use `proc_lib:init_fail/2,3` where appropriateRaimo Niskanen2023-02-272-3/+3
| |
* | Merge branch 'maint' into masterIngela Anderton Andin2023-02-231-0/+24
|\ \ | |/ | | | | | | | | | | * maint: Updated OTP version Prepare release Update copyright year
| * Merge branch 'maint-24' into maintIngela Anderton Andin2023-02-231-0/+24
| |\ | | | | | | | | | | | | | | | | | | * maint-24: Updated OTP version Prepare release Update copyright year
| | * Prepare releaseErlang/OTP2023-02-222-1/+25
| | |
| | * Update copyright yearErlang/OTP2023-02-222-2/+2
| | |
| | * Merge branch 'kuba/maint-24/kuba/ssh/reduce_log_size/OTP-18417' into maint-24Erlang/OTP2023-02-221-7/+12
| | |\ | | | | | | | | | | | | | | | | * kuba/maint-24/kuba/ssh/reduce_log_size/OTP-18417: ssh: reduce log length
| | | * ssh: reduce log lengthJakub Witczak2023-02-171-7/+12
| | | |
| | * | Merge branch 'kuba/maint-24/ssh/fix-error-logging/OTP-18386' into maint-24Erlang/OTP2023-02-221-1/+6
| | |\ \ | | | | | | | | | | | | | | | | | | | | * kuba/maint-24/ssh/fix-error-logging/OTP-18386: ssh: fix kexinit error generation
| | | * | ssh: fix kexinit error generationJakub Witczak2023-02-171-1/+6
| | | |/
* | | | Merge branch 'maint'Jakub Witczak2023-02-217-2/+77
|\ \ \ \ | |/ / /
| * | | Merge pull request #6845 from u3s/kuba/ssh/pkcs8_private_key/OTP-18446Jakub Witczak2023-02-217-2/+77
| |\ \ \ | | | | | | | | | | | | | | | ssh: accept PKCS#8 host key OTP-18446
| | * | | ssh: accept PKCS#8 host keyJakub Witczak2023-02-107-2/+77
| | | | |
* | | | | Merge branch 'maint' into masterKiko Fernandez-Reyes2023-02-172-1/+25
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | * maint: Updated OTP version Prepare release Update copyright year
| * | | | Merge branch 'maint-25' into maintKiko Fernandez-Reyes2023-02-174-3/+27
| |\ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | * maint-25: Updated OTP version Prepare release Update copyright year
| | * | | Prepare releaseErlang/OTP2023-02-162-1/+25
| | | | |
| | * | | Update copyright yearErlang/OTP2023-02-162-2/+2
| | | | |
| | * | | Merge branch 'kuba/ssh/fix-error-logging/OTP-18386' into maint-25Erlang/OTP2023-02-162-2/+7
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * kuba/ssh/fix-error-logging/OTP-18386: ssh: fix kexinit error generation Fix `ssh_connection_handler` logging of atoms
* | | | | | Revert "Prepare release"Henrik Nord2023-02-153-32/+4
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 587341d994f91af5b30483ee9434e932e3d7b802.
* | | | | | Prepare releaseErlang/OTP2023-02-143-4/+32
| | | | | |
* | | | | | Update copyright yearErlang/OTP2023-02-1415-15/+15
| | | | | |
* | | | | | Merge branch 'maint'Kiko Fernandez-Reyes2023-02-0610-56/+56
|\ \ \ \ \ \ | |/ / / / /
| * | | | | ssh: replace size/1 by xxx_size/1Kiko Fernandez-Reyes2023-02-0310-56/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The <c>size/1</c> BIF is not optimized by the JIT, and its use can result in worse types for Dialyzer. When one knows that the value being tested must be a tuple, <c>tuple_size/1</c> should always be preferred. When one knows that the value being tested must be a binary, <c>byte_size/1</c> should be preferred. However, <c>byte_size/1</c> also accepts a bitstring (rounding up size to a whole number of bytes), so one must make sure that the call to <c>byte_size/</c> is preceded by a call to <c>is_binary/1</c> to ensure that bitstrings are rejected. Note that the compiler removes redundant calls to <c>is_binary/1</c>, so if one is not sure whether previous code had made sure that the argument is a binary, it does not harm to add an <c>is_binary/1</c> test immediately before the call to <c>byte_size/1</c>.
* | | | | | Merge branch 'maint'Jakub Witczak2023-01-311-7/+12
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Merge pull request #6746 from u3s/kuba/ssh/reduce_log_size/OTP-18417Jakub Witczak2023-01-311-7/+12
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | ssh: reduce log length OTP-18417
| | * | | | ssh: reduce log lengthJakub Witczak2023-01-301-7/+12
| | | | | |
* | | | | | Merge branch 'maint'Kiko Fernandez-Reyes2023-01-274-20/+19
|\ \ \ \ \ \ | |/ / / / /
| * | | | | ssh: fix indentation issuesKiko Fernandez-Reyes2023-01-273-8/+8
| | | | | |
| * | | | | ssh: replace size/1 by XXX_size/1Kiko Fernandez-Reyes2023-01-174-15/+14
| | |/ / / | |/| | |
* | | | | Merge branch 'maint'Jakub Witczak2023-01-122-2/+7
|\ \ \ \ \ | |/ / / /
| * | | | ssh: fix kexinit error generationJakub Witczak2023-01-091-1/+6
| | | | |
| * | | | Fix `ssh_connection_handler` logging of atomsJon Carstens2023-01-011-1/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Attempting to log reasons `ssh_connection_handler` may fail if the reason is an atom. This is because the `assure_string/1` function will return the original `Reason0` instead of the formatted result and `io_lib.format` can successfully format atoms, returning the original atom reason which then fails in `string:chomp/1` ```erlang 1> io_lib:format("~s", [undef]). "undef" 2> string:chomp(undef). ** exception error: no function clause matching string:trim_t(undef,0,{["\r\n",10],"\r\n",undefined}) (string.erl, line 885) 3> ``` This changes to return the formatted result rather than the original when attempting to use `assure_string/1`
* | | | Merge branch 'maint' into masterHenrik Nord2022-12-142-1/+17
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | * maint: Updated OTP version Prepare release Update copyright year
| * | | Prepare releaseErlang/OTP2022-12-122-1/+17
| | | |
* | | | Merge branch 'maint'Kiko Fernandez-Reyes2022-11-211-1/+1
|\ \ \ \ | |/ / /
| * | | graceful shutdown of ssh_conection_handler when connection is closed by peerAnupama Singh2022-11-171-1/+1
| | | |
* | | | Make Ctrl+L clear the screen in the terminalJosé Valim2022-10-121-0/+2
| | | |
* | | | kernel: Add support for expand after current lineLukas Larsson2022-10-041-3/+7
| | | |
* | | | Merge branch 'maint' into masterHenrik Nord2022-09-2110-9/+70
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | * maint: Updated OTP version Prepare release Update copyright year
| * | | Prepare releaseErlang/OTP2022-09-202-1/+62
| | | |
| * | | Update copyright yearErlang/OTP2022-09-208-8/+8
| | | |