#!/bin/sh # # Version 2.0.4 # # chkconfig: 345 81 29 # description: provides secure connections through untrusted networks # lsh is based on the specification for ssh2 and should (eventually) # be compatible. # # processname: lshd # # Source function library. . /etc/rc.d/init.d/functions [ -r /etc/sysconfig/lshdcfg ] && . /etc/sysconfig/lshdcfg PATH=$PATH:/usr/local/sbin:/usr/local/bin if [ ! -x /usr/local/sbin/lshd -o \ ! -f /etc/lsh_host_key -o \ ! -f /etc/lsh_host_key.pub ] then cat 1>&2 <