Hi, here is a basic script to restarting sshd server:
###
#!/bin/sh
PID=`ps -C sshd -o pid= | head -1`
kill -9 $PID
sshd
###

christophe ramaroson



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to