Timothy Legge wrote: > On Tue, Oct 14, 2008 at 12:51 PM, Rob Owens > <[EMAIL PROTECTED]> wrote: >> I run 2 ssh daemons. One on port 22 for local network access only, with >> password authentication enabled and no restriction on users. The other > > That is my plan. I started looking at the 2 daemons in the past but > never finished. I always assumed that I would simply copy the current > ssh daemon startup, point it at a different config file specifying the > IP and port with a few other tweaks... > > Was this your process? > Yes, basically that's what I did. Some files you'll need to copy (and rename, and edit the renamed versions):
/etc/init.d/ssh /etc/default/ssh /etc/ssh/sshd_config /var/run/sshd (this is a directory) Note that these are the filenames in a Debian-based system. Other systems may vary. In particular, one thing that screwed me up was that I forgot to specify a different pid file in /etc/init.d/ssh, so make sure you do that. I chose to specify the alternate config file in /etc/default/ssh2222 (or whatever you decide to call your file) like this: SSHD_OPTS="-f /path/to/alternate/configfile" -Rob ******************************************************** The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you are not the addressee, any disclosure, reproduction, copying, distribution, or other dissemination or use of this transmission in error please notify the sender immediately and then delete this e-mail. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard copy version. ******************************************************** ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _____________________________________________________________________ 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
