Displaying 1 result from an estimated 1 matches for "had_channel".
Did you mean:
read_channel
2000 Aug 08
0
v2 connection logging vs v1
...with v1, the server logs a message when I exit my login
shell:
Closing connection to 130.207.167.32
However, when connecting with v2, it only ever logs:
Connection closed by remote host.
Tracing through the code, it appears that instead of breaking in
serverloop.c:server_loop2() at:
if (had_channel && !channel_still_open()) {
debug("!channel_still_open.");
break;
}
and returning to sshd.c:main() and logging the nice message, it continues
to process_input(), gets a len==0 from the read(), and does:
verbose("Connection closed by remote host.");...