[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: multiple ssh sessions and escape from them



-f wrote:
> hi there,
> 
> it is not uncommon that i do:
> 
> a> ssh b
> b> ssh c
> c>
> 
> today the machine c crashed so i did a '~.'
> but instead of getting back to 'b', i ended up back on 'a'.
> 
> so i was wondering how the escape mechanism work.
> is this the intended behaviour?  the man is not mentioning this case.

It is working - the first ssh is intepreting the escape as it should. If
you want the second ssh to see the escape, then you need to escape the
escape:

~~.

-d