| Summary: | [PATCH] make the Waiting for forwarded connections to terminate... message more helpful | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Matthew Vernon <matthew> |
| Component: | sshd | Assignee: | OpenSSH Bugzilla mailing list <openssh-bugs> |
| Status: | CLOSED WONTFIX | ||
| Severity: | normal | CC: | openssh-bugs |
| Priority: | P2 | ||
| Version: | -current | ||
| Hardware: | ix86 | ||
| OS: | Linux | ||
Umm.. Great.. Until the user finds:
-e ch|^ch|none
Sets the escape character for sessions with a pty (default: `~').
The escape character is only recognized at the beginning of a
line. The escape character followed by a dot (`.') closes the
connection, followed by control-Z suspends the connection, and
followed by itself sends the escape character once. Setting the
character to ``none'' disables any escapes and makes the session
fully transparent.
Mass change of RESOLVED bugs to CLOSED |
Hi, The following patch makes this message a bit more helpful to the less experienced user. diff -u -r openssh-3.0p1-orig/serverloop.c openssh-3.0p1/serverloop.c --- openssh-3.0p1-orig/serverloop.c Fri Oct 12 02:35:06 2001 +++ openssh-3.0p1/serverloop.c Thu Nov 8 18:12:10 2001 @@ -557,7 +557,7 @@ if (!channel_still_open()) break; if (!waiting_termination) { - const char *s = "Waiting for forwarded connectio ns to terminate...\r\n"; + const char *s = "Waiting for forwarded connectio ns to terminate... (press ~& to background)\r\n"; char *cp; waiting_termination = 1; buffer_append(&stderr_buffer, s, strlen(s));