[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] SSH Server Problem
On Sun, Mar 05, 2000 at 10:38:12AM -0500, Christopher Cantrell wrote:
: I have installed SSH 2.0.13 on my RAQ3 downloaded from www.ssh.fi. It looks
: like everything is working correctly but when I run the
: /etc/rc.d/init.d/sshd with the start param, I get
:
: Starting sshd: sshd./sshd: sshd: command not found
:
: I got the script from Cobalt.
:
: I can start it from a command line like > sshd and check the status from
: sshd status.
: #!/bin/sh
:
: # Source function library.
: . /etc/rc.d/init.d/functions
:
: # Source networking configuration.
: . /etc/sysconfig/network
:
: # Check that networking is up.
: [ ${NETWORKING} = "no" ] && exit 0
:
: [ -x /usr/local/sbin/sshd ] || exit 0
:
: # See how we were called.
: case "$1" in
: start)
: echo -n "Starting sshd: "
: daemon <patch to sshd>/sshd
^^^^^^^^^^^^^^^-----------if it can't find the program, give it the
path
: echo
: touch /var/lock/subsys/sshd
: ;;
: stop)
: echo -n "Shutting down sshd: "
: killproc sshd
: echo
: rm -f /var/lock/subsys/sshd
: ;;
: status)
: status sshd
: ;;
: restart)
: $0 stop
: $0 start
: ;;
: *)
: echo "Usage: sshd {start|stop|restart|status}"
: exit 1
: esac
: exit 0
:
:
: _______________________________________________
: cobalt-users mailing list
: cobalt-users@xxxxxxxxxxxxxxx
: To Subscribe or Unsubscribe, please go to:
: http://list.cobalt.com/mailman/listinfo/cobalt-users
:
--
Mat Kovach mkovach@xxxxxxxxxxxxxxxxx
Cleveland Linux User Group http://cleveland.lug.net