View previous topic :: View next topic |
Author |
Message |
dmvianna l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/1910116078425b830c49174.jpg)
Joined: 22 Mar 2004 Posts: 742 Location: Down Underland
|
Posted: Fri Jun 17, 2005 9:08 am Post subject: screen-ssh-screen:how do I detach d remote session? [solved] |
|
|
OK. How do I start. I'm at work.
I have a screen session, right? Then, inside it, I logged in a remote server through ssh. Then I ran a screen session in the remote server, so I could run a command, and leave it running while I detach the remote screen, go home, and reattach it. Thing is, when I hit ctrl+a ctrk+d, it's the local session that gets detached.
Is there a way to solve this, or should it be considered dumb behavior to run screen inside screen? ![Embarassed :oops:](images/smiles/icon_redface.gif) _________________ Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro
Last edited by dmvianna on Fri Jun 17, 2005 9:14 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ansient Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/BaldursGate/baldursgate2_cernd.gif)
Joined: 22 Jan 2005 Posts: 445 Location: Argentina
|
Posted: Fri Jun 17, 2005 9:10 am Post subject: |
|
|
In addition to the first C-a, you need to add an "a" for every nested screen session.
But it is a dumb practice to nest screens like this. If you intend to attach to a remote screen session via ssh, that ssh session should not be started in a local screen. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|