4 ms·
And on an international keyboard it’s ~~, because ~ defaults to being a character modifier. If you nest SSH sessions, then you add more ~s. So in your fifth nes
by tashian 6y ago
And on an international keyboard it’s ~~, because ~ defaults to being a character modifier. If you nest SSH sessions, then you add more ~s. So in your fifth nested SSH session on an international keyboard the escape sequence would be \n~~~~~~~~~~.
- downerending 6y agoHmm. Is that right? I thought you could type ~~ to send a ~ through to the destination. So, ignoring the international aspect, I was thinking you'd type ~ to escape your first target, ~~ for the second, ~~~~ for the third, and ~~~~~~~~ for the fourth. (Too lazy to test it.) Perhaps better is to set a different escape char for layers you care about.
- rubatuga 6y agoI think the parent is still right, just a problem with international keyboards.
- jonah-archive 6y agoDoes anyone know of a modification that will e.g. dump hostname on a ~? -- so many times I'm in a few layers deep and likely to miscount.
- downerending 6y agoSounds like maybe ~C could do it? Too lazy to try it out.
- jonah-archive 6y agoUnfortunately it seems to be a very limited command set (tried out a few other things with no luck): ssh> ? Commands: -L[bind_address:]port:host:hostport Request local forward -R[bind_address:]port:host:hostport Request remote forward -D[bind_address:]port Request dynamic forward -KL[bind_address:]port Cancel local forward -KR[bind_address:]port Cancel remote forward -KD[bind_address:]port Cancel dynamic forward Time to read some source, I suppose.