Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
screen-ssh-screen:how do I detach d remote session? [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
dmvianna
l33t
l33t


Joined: 22 Mar 2004
Posts: 742
Location: Down Underland

PostPosted: Fri Jun 17, 2005 9:08 am    Post subject: screen-ssh-screen:how do I detach d remote session? [solved] Reply with quote

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? :oops:
_________________
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
View user's profile Send private message
ansient
Guru
Guru


Joined: 22 Jan 2005
Posts: 445
Location: Argentina

PostPosted: Fri Jun 17, 2005 9:10 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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