On Thu, Mar 29, 2007 at 05:10:43PM +0100, Mick wrote:
> How do you explain this:
> 
> I am in a ssh session.  I type "~." to end the session.  The first time it 
> says command not found, the second time the escape character is recognised 
> and executed, I am logged out.
> =========================================
> $ ~.
> -bash: ~.: command not found
> $ Connection to blah.blah.blah. closed.
> =========================================

Don't know about that, but I just found a peculiarity in ssh.  If I
ssh from a to b to c, "~." terminates the a-b session which also
terminates the b-c session of course.  Use "~~." instead to first
terminate the b-c session while leaving a-b intact, but immediately
folloing that with "~." to terminate the a-b session does not work; it
gives "command no found" from bash.  You have to give any other
command in betweenm, even ENTER alone, then the "~." will properly
terminate the a-b session.

This might be what you were seeing, if you had just used "~~." to
terminate a nested session.

-- 
            ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
     Felix Finch: scarecrow repairman & rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
-- 
gentoo-user@gentoo.org mailing list

Reply via email to