Results 1 to 6 of 6

Thread: Keeping an ssh session open forever

  1. #1
    Join Date
    Sep 2007
    Location
    Olympia, Washington
    Beans
    548
    Distro
    Ubuntu

    Keeping an ssh session open forever

    I stream my local police station dispatch on the web using an icecast/darkice configuration (http://wacomputing.com). The downside of using this software is that once you initiate darkice, a terminal has to be open - the process does not run in the background.

    I tried placing a monitor on my server (ouch, that hurt) and keeping darkice alive that way, but my mail server kicks the process. Now, I set the KeepAlive variable to something outrageous and keep an ssh session open on my desktop box to keep the stream going. Screen does not work as Postfix boots that as well.

    Any suggestions for keeping the process going indefinately?
    ~Mark
    http://nwlinux.com - tech blog

  2. #2
    Join Date
    Apr 2009
    Location
    Texas
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Keeping an ssh session open forever

    See here. KeepAlive
    Ubuntu Christian Edition chat on irc at server: OFTC/channel: #ubuntuCE
    BootInfoScript DualBooting
    Grub Grub2 MBR/GRUB
    Boot Info Script courtesy of community member meierfra and ghulselmans

  3. #3
    Join Date
    Jan 2008
    Beans
    438

    Re: Keeping an ssh session open forever

    Quote Originally Posted by R.Bucky View Post
    I tried placing a monitor on my server (ouch, that hurt) and keeping darkice alive that way, but my mail server kicks the process. ... Screen does not work as Postfix boots that as well.
    Er, postfix is killing your processes? I don't have much experience with mail transfer programs but that doesn't quite sound right.

  4. #4
    Join Date
    Mar 2009
    Beans
    115

    Re: Keeping an ssh session open forever

    You can also have a look at 'screen'.

  5. #5
    Join Date
    Sep 2007
    Location
    Olympia, Washington
    Beans
    548
    Distro
    Ubuntu

    Re: Keeping an ssh session open forever

    Yup, used screen as mentioned earlier. For now, I'll just keep an open ssh session on my Ubuntu Desktop machine. Something will pop up eventually.
    ~Mark
    http://nwlinux.com - tech blog

  6. #6
    Join Date
    Mar 2007
    Location
    New York City area
    Beans
    69
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Keeping an ssh session open forever

    You can play around with the nohup command.

Bookmarks

Posting Permissions

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