Let us imagine I have only one terminal. To overcome this trouble I use screen, so happy!

However, I need to connect to another computer over ssh, to prevent to open several connections I want to run screen on this window, but if I do that I'll have problems with key binding. Is there any solution?

1 Answer 1


You can pass commands from one screen sessions to it's sub-screen session with Ctrl+a a (it send Ctrl+a to the sub-screen)

For example:

  • To detach the sub-screen: Ctrl+a a-d
  • Go to the next screen: Ctrl+a a-n
  • Go to the previous screen Ctrl+a a-p
  • It worked, despite it is not so easy. Commented Oct 26, 2014 at 22:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .