-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Anwar Purnomo wrote:
| To Linux'ers
|
~ [ ..... ]
|

Setelah googling akhirnya dapet juga ... dg bantuan script ini :

#!/bin/sh
#
# chkconfig: 345 55 45
# description: sshd (secure shell daemon) is a server part of the ssh suite.
#       Ssh can be used for remote login, remote file copying, TCP port
#       forwarding etc. Ssh offers strong encryption and authentication.
#

# Source function library.
. /etc/rc.d/init.d/functions

# See how we were called.
case "$1" in
~  start)
~        echo -n "Starting sshd: "
~        if test -r /var/run/sshd.pid && kill -0 `cat /var/run/sshd.pid`
~        then echo "already running according to /var/run/sshd.pid. Not
started."
~        else /usr/local/sbin/sshd
~                echo sshd
~        fi
~        touch /var/lock/subsys/sshd
~        ;;
~  stop)
~        echo -n "Stopping sshd: "
~        [ -f /var/run/sshd.pid ] || exit 0
~        kill -TERM `cat /var/run/sshd.pid`
~        rm -f /var/run/sshd.pid
~        rm -f /var/lock/subsys/sshd
~        echo "sshd"
~        ;;
~  restart)
~        $0 stop
~        $0 start
~        ;;
~  status)
~        status sshd
~        ;;
~  *)
~        echo "Usage: $0 {start|stop|restart|status}"
~        exit 1
esac

exit 0


Next :


/sbin/chkconfig --add sshd

Thank's 4 all

- --
Rgd's

Anwar Purnomo

Site: http://awe.aei.co.id
PGPKeyID: 6589D68F
KeyServer: http://pgp.mit.edu
Key Fingerprint: ABC9 5E98 BB9B F68E 37B0  FC2B E5E7 D175 6589 D68F

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAK1hF5efRdWWJ1o8RAp/kAJ9xBVzgjSJVHmcl+Tb+B+TtfkT25QCdHtf/
PtCg0A1Z/T6zeAMcEee7LSE=
=xtCq
-----END PGP SIGNATURE-----

--
Unsubscribe: kirim email kosong ke [EMAIL PROTECTED]
Arsip dan info di http://linux.or.id/milis.php
FAQ milis http://linux.or.id/faq.php



Kirim email ke