LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-27-2010, 09:39 AM   #1
Gavin Harper
Member
 
Registered: Feb 2010
Location: Finland
Distribution: Slackware
Posts: 169

Rep: Reputation: 24
Triggering SSH jobs to continue after disconnecting.


Possibly silly question but here goes.

I have a server here and want to set up transfer jobs to run overnight.

I log in via SSH to it from my laptop and would like to start the job, disconnect yet still have it run.

Is this possible, if so, how?

Thanks
 
Old 02-27-2010, 10:07 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
use nohup
 
1 members found this post helpful.
Old 02-27-2010, 11:10 AM   #3
Gavin Harper
Member
 
Registered: Feb 2010
Location: Finland
Distribution: Slackware
Posts: 169

Original Poster
Rep: Reputation: 24
Top quality stuff! Thank you!
 
Old 02-27-2010, 03:20 PM   #4
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 417Reputation: 417Reputation: 417Reputation: 417Reputation: 417
Also have a look at the screen command. It allows you to set up virtual terminals that you can disconnect and they will still run. For single jobs, nohup is usually just fine, but if you need to preserve a session, screen is the way to go.
 
1 members found this post helpful.
Old 03-01-2010, 08:56 AM   #5
Gavin Harper
Member
 
Registered: Feb 2010
Location: Finland
Distribution: Slackware
Posts: 169

Original Poster
Rep: Reputation: 24
Great! Thank you!
 
  


Reply


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
Forcing SSH Process to continue running sploit Linux - Networking 7 04-27-2009 11:23 AM
ssh error : disconnecting corrupted MAC vkmgeek Linux - Networking 4 12-22-2008 05:03 AM
Jobs IDs go away on ssh restart nuxeon Linux - Newbie 3 10-18-2007 06:46 PM
SSH is keep on disconnecting from server sathyguy Linux - Enterprise 2 09-02-2006 04:30 AM
Slackware and SSH - Keeps disconnecting me FxXP Linux - Software 1 03-31-2004 07:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:23 PM.

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