LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-21-2012, 05:11 AM   #1
Guide_
LQ Newbie
 
Registered: Jan 2012
Posts: 3

Rep: Reputation: Disabled
Linux VPS


Ahoy there!

I'm hosting a ' bot ' for a certain game on a VPS that is running linux.

Now I open the SSH to run the 'bot' and after say 10 minutes the bot just closes and the SSH is unusable?
 
Old 01-21-2012, 05:39 AM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
Have you tried 'screen' ?

- ssh to host
- run 'screen'
- launch bot
- detach from screen
- log out
 
1 members found this post helpful.
Old 01-21-2012, 06:17 AM   #3
Guide_
LQ Newbie
 
Registered: Jan 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
You'll have to excuse my ignorance, how would I go about the above?

Sorry.
 
Old 01-21-2012, 07:47 AM   #4
Guide_
LQ Newbie
 
Registered: Jan 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Bump. So someone can clarify the above.
 
Old 01-22-2012, 12:49 AM   #5
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
Try the screen man page, basically it lets you disconnect and everything keeps running.
 
Old 01-22-2012, 01:02 AM   #6
lucmove
Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian Jessie
Posts: 803

Rep: Reputation: 76
Supposing your bot is mybot, run this:

$ nohup mybot

Then disconnect (I mean, logoff). The mybot program should keep running unattended.

Last edited by lucmove; 01-22-2012 at 01:04 AM.
 
  


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
How to redirect all traffic from a VPS to another VPS 124748768 Linux - Networking 0 07-08-2011 11:36 AM
need help with linux vps chaudhary9 Linux - Newbie 1 07-04-2011 07:15 PM
cpanel linux vps furqan_sindhu General 0 11-06-2006 11:36 AM
Where can I download UML VPS or Xen VPS to make a virtual private server? abefroman Linux - Software 3 12-09-2005 11:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:09 AM.

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