Find the answer to your Linux question:
Results 1 to 4 of 4
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. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2008
    Posts
    3

    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

  2. #2
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    you need to use screen
    man screen
    screen commands - Google Search

  3. #3
    Just Joined!
    Join Date
    Mar 2008
    Posts
    3

    Talking Simple as that!

    Whoot! problem solved!
    My nab skills have been updated! Thanks !

  4. #4
    Just Joined!
    Join Date
    Jan 2008
    Posts
    5
    I think you can also use "nohup".

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •