Commit add4f15
committed
ssh: cli not handling latin1 put_char requests
When starting a ssh daemon with a shell, connecting to it and pressing
CTRL+C on the ssh client, a message appears on the host machine:
```
1> application:ensure_all_started(ssh).
{ok,[crypto,asn1,public_key,ssh]}
2> ssh:daemon(2222, [{shell,{shell,start,[]}}, {system_dir, "."}, {exec,erlang_eval}, {pwdfun, fun(_,_) -> true end}]).
{ok,<0.100.0>}
{unhandled_request,{put_chars_sync,latin1,<<"** ">>,undefined}}
```
This commit addresses that by properly processing latin1 encodings in
`ssh_cli`, as `user_drv` already managed these cases.1 parent 6a96312 commit add4f15
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
450 | 450 | | |
451 | 451 | | |
452 | 452 | | |
| 453 | + | |
| 454 | + | |
453 | 455 | | |
454 | 456 | | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
455 | 460 | | |
456 | 461 | | |
457 | 462 | | |
| |||
0 commit comments