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?


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
| improve this answer | |
  • It worked, despite it is not so easy. – Tiago Pimenta Oct 26 '14 at 22:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.