l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2003 Oct 23 17:42

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
RE: [vox-tech] possible to exit ssh with a program running?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [vox-tech] possible to exit ssh with a program running?

Have you tried "screen"?  screen is a "window" manager for the terminal.
Similar in concept to tabbed browsing in Mozilla, but without the GUI.
It allows you to have multiple terminal sessions open while only taking
up one on your desktop.  You can detach from a screen session and close
the terminal and reattach with another terminal later.
Here is a link for more info.

-----Original Message-----
From: Jonathan Stickel [mailto:jjstickel@myrealbox.com] 
Sent: Thursday, October 23, 2003 9:18 AM
To: vox-tech@lists.lugod.org
Subject: [vox-tech] possible to exit ssh with a program running?

I know that if I start a terminal window in X, run a program, and then 
manually close the window, the program dies.  I also know that if I 
secure-shell into another machine and run a program, I cannot exit 
without first ending that program.

Is there any way to start a program for a shell window and leave it 
running when I close the window?  Also, is there anyway to leave a 
program running remotely, started through an ssh session, and exit ssh?

The later would be very helpful, although I suspect these two issues are

related.  My research involves running computer simulations on several 
computers on campus.  I would really like to ssh into the machines from 
home, start the simulations (which generate output to text files), and 
then exit the ssh sessions with the simulations in progress.  This way I

could close my internet connection (dial-up :( ) and turn my home 
computer off while the multi-day simulations run.

Is this possible?


vox-tech mailing list

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!