LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Problem with init script for openssh (https://www.linuxquestions.org/questions/linux-networking-3/problem-with-init-script-for-openssh-175557/)

kaplan71 04-28-2004 11:49 AM

Problem with init script for openssh
 
I have installed openssh 3.8.1p1 on a Red Hat 7.3 system and I want to configure the ssh server to automatically start on boot. I went to the source directory and copied the sshd.init file to the /etc/rc.d/init.d directory as sshd. When I run the script, sshd start, I get the following error message:

sshd:execvp: No such file or directory [FAILED]

What do I need to do to correct this problem? Thanks.

david_ross 04-28-2004 01:32 PM

You probably need to edit that file and use the full path to the sshd executable.


All times are GMT -5. The time now is 05:41 AM.