Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Aug 2007 10:09:01 -0600
From:      Chad Perrin <perrin@apotheon.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: attaching a terminal to 'join' another?
Message-ID:  <20070802160901.GA92156@demeter.hydra>
In-Reply-To: <80f4f2b20708020819l69e054a1ia070efba2b04d2ad@mail.gmail.com>
References:  <80f4f2b20708020819l69e054a1ia070efba2b04d2ad@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 02, 2007 at 11:19:21AM -0400, Jim Stapleton wrote:
> Sorry if my question is a bit confusing - I'm not even sure the proper
> terminology, so I don't know what the best way to start looking is.
> 
> I'm rebuilding a system at home, and I'd like to check how the build
> is going at a slow time at work sometimes. I can connect to the system
> from work (ssh into my main box, and then from there, ssh to the
> system I'm working on). I have a terminal opened on that system
> (actually, another ssh session fron the main box), and I'd like to
> have my new connection attach to that terminal session, if possible,
> so that I can just pick up where I left off, and monitor it from here.
> Is this possible?

Step 1:  Go back in time to before you started the build.

Step 2:  Install a utility called "screen" on that machine.

Step 3:  Start a screen session, and start your build from within that.

Step 4:  Detach from that screen session by typing ^A then pressing D.

Step 5:  Reattach to that screen session at any time with `screen -r`.

Sorry about the "go back in time" part.  I guess you'll know for next 
time.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
W. Somerset Maugham: "The ability to quote is a serviceable substitute for
wit."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070802160901.GA92156>