Re: SSH hangs on exit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--On Monday, November 14, 2005 3:16 PM +0000 Jonathan Underwood <j.underwood@xxxxxxxxxx> wrote:

I am actually seeing this behaviour if I start a process using nohup on
the server, with all output redirected to files. Surely then, ssh should
exit cleanly? (but it doesn't). I've  never been sure if this is a bug.

Check out the "screen" command. I use that for my game servers. A typical invocation:

screen -dmS my-game-server script-to-start-game

This creates a detached screen session named "my-game-server" running the script "script-to-start-game". You can reattach to it later to view any output. I put this in an initscript so that the game servers start at boot time.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux