Take a look at screen (app-misc/screen). It is what I use for that very situation.
It use to be on the gentoo tips and trick forums along with an gentoo weekly news howto article. Great stuff! widyachacra wrote: > Dear all, > > i'm using a dialup connection to connect to my office gentoo servers > via ssh sessions. now i need to excute an emerge(#emerge -e system) > system command via a ssh session, but i can't stay online always with > my dialup connection. so i need to excute the command to background > process(when i close my current ssh session emerge process will also > stoped). so how do i do it? > > Q: how do i excute an emerge process to the background process(this > shoud not terminated when i stoped the remote ssh session)? > -- [email protected] mailing list
