Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-10-2003, 04:25 PM   #1
LQ Newbie
Registered: Dec 2003
Posts: 2

Rep: Reputation: 0
ssh connection

Hi all,

I try googling for this but didn't find any begin of answer. So please,
enlight me.

I wondered if it is possible to launch a job from a ssh connection (or any
other distant connection), disconnect and keep the job continue.

In other word, is it possible to disconnect before the job finish running, without killing this job ?

thx in advance,

Old 12-10-2003, 04:36 PM   #2
LQ Newbie
Registered: Dec 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Really sorry.
Why do I always find what I want just after posting ?

Command nohup is what I was looking for.
Old 12-10-2003, 09:06 PM   #3
Registered: Sep 2003
Distribution: Mandrake 10.0
Posts: 200

Rep: Reputation: 30
'Screen' is a great command.

It allows you to have many processes doing what you've described. But you can 'bring them back' to *ANY* other SSH session all at once. You can look at their output and send them new commands.

It's like a window manager for the console which you can 'detach' from your login, then 'attach' to a future login. A screen session keeps running no matter WHAT. If your connection dies, it just detaches and runs. If there are zero users logged in, it runs.

It also allows you to switch 'windows' (shell sessions), in one console, in real time.

Here's a tutorial:

Screen revolutionized my use of the terminal. I only need ONE x-terminal or ssh login to do as many different things as I want.

Last edited by mac_phil; 12-10-2003 at 09:11 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH connection TL3 Linux - Newbie 2 11-22-2005 02:19 AM
SSH Connection dn7 Linux - Security 16 09-01-2004 11:34 PM
Ports used by a SSH Connection proteo Linux - Networking 3 10-22-2003 09:30 AM
Secured Connection with SSH SUKHOI_Flanker Linux - Software 0 07-03-2003 01:50 AM
ssh connection doodah Linux - Networking 2 05-09-2001 07:35 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:29 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration