1# sshd/README 2# sshd secure shell service 3# wcm, 2009.12.28 - 2009.12.28 4# === 5 6This directory defines a set of perp runscripts for an sshd service. 7 8The rc.main runscript provides two methods of running sshd under 9supervision: 10 11 * sshd listens itself, runs as a persistent process 12 * sshd runs once per connection under tcpserver 13 14By default the script is setup to run with the first method, that is, 15sshd itself will listen for incoming connections. The service can 16be used on a "first-boot" system and will generate the keyfiles it 17needs automatically. 18 19To run under tcpserver, copy the rc.main_tcpserver script into 20rc.main. Read the comments in the script and edit the script 21accordingly. Note also to setup the CONLIMIT variable and any 22tcprules definitions in ./tcprules. The script will rebuild 23./tcprules.cdb on each run, or may be used to rebuild the the rules 24at any time: 25 26 # vi tcprules 27 # ./rc.main make_rules 28 29It is not necessary to restart the service. The new rules will take 30effect with the next incoming connection. 31 32### EOF 33