LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-08-2005, 12:06 PM   #1
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,203

Rep: Reputation: 45
ssh ->suspend and resume...


Hi... Lets assume that i must ssh to a remote machine so i can finish my work, I want the ssh execute the command in such way that continues executing if i exit the ssh... then after some hours i want to log in again and view that the process is finished..
How i can start some processes over ssh without being killed when i exit the session?
 
Old 01-08-2005, 12:14 PM   #2
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
use "screen"
 
Old 01-09-2005, 04:43 AM   #3
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
Or you could use nohup <command>
 
Old 01-09-2005, 11:45 AM   #4
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,203

Original Poster
Rep: Reputation: 45
thx

Thx ...the screen does not exist by default to the most systems so i have tried the nohup command

I connect using ssh and i have entered a kernel recompile job using the nohup
nohup make dep &
It started succesfulyy but when i ran the exit so to return back to my pc the session didn't end up immediately but as i have noticed ssh was waiting for the nohup make dep & command to finish execution why is that? I want to terminate the ssh session and when i relogin back to see the processes stil running
 
Old 01-10-2005, 11:57 PM   #5
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,203

Original Poster
Rep: Reputation: 45
Post ;)

thx...but any answer?
 
  


Reply



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
Suspend Fails to Resume dengel Linux - Laptop and Netbook 0 11-27-2005 08:58 AM
No resume from suspend mehlkelm Debian 3 11-22-2005 10:48 AM
laptop suspend/resume zchoyt Fedora 0 10-24-2005 10:21 PM
Can't resume from ACPI S3 suspend cdhgee Fedora 3 08-18-2005 02:39 AM
resume and suspend pthreads okhan Programming 3 07-30-2004 08:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:22 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
Open Source Consulting | Domain Registration