Using Ssh And Starting Servers...

bertbert Join Date: 2003-02-11 Member: 13433Members
just a simple question:


if i'm using the putty program to start my server (have it all set up exactly as vadakill said to in his stickied post) then can i close putty and the server will keep going? and if so, is there a way to re-open putty, log in, and go into the server again?

Comments

  • NurEinMenschNurEinMensch Join Date: 2003-02-26 Member: 14056Members, Constellation
    If you close your ssh connection the hlds server will quit. You can use "screen" to avoid this problem.
    Read <a href='http://www.unknownworlds.com/forums/index.php?act=ST&f=8&t=10309' target='_blank'>this thread</a> for more information about using screen with hlds.
    If you have set up screen already like suggested in that thread you can detach the hlds screen and close your ssh connection and hlds will keep running.
  • [WHO]Them[WHO]Them You can call me Dave Join Date: 2002-12-11 Member: 10593Members, Constellation
    i doubt you "need" screen to keep it working. A simple "&" at the end of the command line should do the trick.

    Or if the server is already started then you could also do "ctrl-z" and then immediately type "bg" and hit enter when it puts you at a prompt
  • NurEinMenschNurEinMensch Join Date: 2003-02-26 Member: 14056Members, Constellation
    I guess you're right but I suck at linux and screen is just the way I'm used to do it! <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' style='vertical-align:middle' alt='wink.gif'><!--endemo-->
  • cracker_jackmaccracker_jackmac Join Date: 2002-11-04 Member: 6891Members, Constellation, Reinforced - Shadow
    $ screen ./hlds_run -debug +blah +blah +blah
    ^a d
    $ exit
    Connection Lost to forgien host

    login: halfilfe
    password:
    $ screen -r

    Thats it <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->

    p.s. ^ means ctrl
Sign In or Register to comment.