1 |
On Thu, Mar 29, 2007 at 05:10:43PM +0100, Mick wrote: |
2 |
> How do you explain this: |
3 |
> |
4 |
> I am in a ssh session. I type "~." to end the session. The first time it |
5 |
> says command not found, the second time the escape character is recognised |
6 |
> and executed, I am logged out. |
7 |
> ========================================= |
8 |
> $ ~. |
9 |
> -bash: ~.: command not found |
10 |
> $ Connection to blah.blah.blah. closed. |
11 |
> ========================================= |
12 |
|
13 |
Don't know about that, but I just found a peculiarity in ssh. If I |
14 |
ssh from a to b to c, "~." terminates the a-b session which also |
15 |
terminates the b-c session of course. Use "~~." instead to first |
16 |
terminate the b-c session while leaving a-b intact, but immediately |
17 |
folloing that with "~." to terminate the a-b session does not work; it |
18 |
gives "command no found" from bash. You have to give any other |
19 |
command in betweenm, even ENTER alone, then the "~." will properly |
20 |
terminate the a-b session. |
21 |
|
22 |
This might be what you were seeing, if you had just used "~~." to |
23 |
terminate a nested session. |
24 |
|
25 |
-- |
26 |
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. |
27 |
Felix Finch: scarecrow repairman & rocket surgeon / felix@×××××××.com |
28 |
GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933 |
29 |
I've found a solution to Fermat's Last Theorem but I see I've run out of room o |
30 |
-- |
31 |
gentoo-user@g.o mailing list |