On Sat, May 10, 2008 at 11:05 PM, Steve Cayford <[EMAIL PROTECTED]> wrote: > David Burgess wrote: >> On Fri, May 9, 2008 at 6:27 AM, Rob Owens <[EMAIL PROTECTED]> wrote: >>> Rob Owens wrote: >>>> On Thu, Mar 06, 2008 at 01:31:50PM +0100, Oliver Grawert wrote: >>>>> hi, >>>>> Am Mittwoch, den 05.03.2008, 13:44 -0500 schrieb Rob Owens: >>>>>> I'd like to run 2 instances of ssh on my LTSP 5 server, so that I may >>>>>> disallow password authentication from the internet. I know I can >>>>>> compile from source for the 2nd instance, but is there any way of using >>>>>> Ubuntu's openssh-server package for both instances? Can I somehow tell >>>>>> the package to install its binary and config files in /usr/local? >>>>> just copy the initscript to ssh_custom or so and add the matching >>>>> parameters to the daemon call ... >> >> Could I beg for some expansion here? I'm trying to do the same here. I did >> >> cp /etc/init.d/ssh to /etc/init.d/ssh_ltsp >> cp /etc/default/ssh /etc/default/ssh_ltsp >> update-rc.d ssh_ltsp defaults >> >> replaced "etc/default/ssh" with "/etc/default/ssh_ltsp" in >> /etc/init.d/ssh_ltsp >> added SSHD_OPTS=-p2222 to /etc/default/ssh_ltsp and >> /etc/init.d/ssh_ltsp start >> >> It appears to start ok but >> netstat -lnt | grep 2222 >> >> turns up nothing. Where have I gone wrong here? >> >> Thanks. >> >> db > > In /etc/init.d/ssh_alternate I changed the references for > /etc/default/ssh to /etc/default/ssh_alternate and in ssh_alternate set > SSHD_OPTS="-f /etc/ssh/sshd_alternate_config" > > In the alternate config file I specified a different port and a > different pid file: > > PidFile /var/run/sshd_alternate.pid > Port 2222 > > I also changed the pid file for the start-stop-daemon command in > /etc/init.d/ssh_alternate
Excellent. Thank you. db ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.freenode.net
