LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-09-2008, 09:14 AM   #1
Vince-0
LQ Newbie
 
Registered: Mar 2008
Posts: 7

Rep: Reputation: 0
SSH: How to run console/command in remote server's memory?


Hello!

I need to be able to run a command on a remote server through ssh and somehow resume it (or the remote console) should the ssh session be disconnected. Is there a way to execute, say a script, remotely from the command line and keep it in the remote servers' memory in case of connection failure? Maybe a command option or something?

I can't figure out how, please help!
Whoot to who ever gets an answer, cos my nab skills couldn't
 
Old 03-09-2008, 09:46 AM   #2
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Look into GNU Screen. It'll keep running in the background should your SSH connection die. It also has a number of other excellent features.
 
Old 03-09-2008, 10:09 AM   #3
Vince-0
LQ Newbie
 
Registered: Mar 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Talking Simple as that!

Whoot, problem solved = nab skills updated - thanks!
 
Old 03-09-2008, 10:36 AM   #4
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
No problem
 
  


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
can't run remote x-windows apps using ssh -X jcurts71 Linux - Server 3 06-05-2007 04:33 AM
Run application on *monitor* of remote machine via SSH? DiBosco Linux - Networking 5 04-09-2007 08:57 AM
SSH remote command not timing out tajsss Other *NIX 5 04-28-2005 06:57 AM
Adding users via ssh remote command enolc Linux - Software 2 05-27-2004 06:48 AM
How to run remote WinManager over ssh? aleet2600 Linux - Software 0 04-14-2004 06:05 PM

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

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