LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-05-2007, 08:54 AM   #1
seanh1986
LQ Newbie
 
Registered: Jul 2007
Posts: 11

Rep: Reputation: 0
Start OpenSSH-4.6p1 On Boot in Mandriva 2006


Hey, I'm using Mandriva Linux 2006.

I'm trying to get OpenSSH-4.6p1 to load on boot.

I installed it into the directory, /usr/local/openssh-4.6p1/

I added the following code atthe end of the file: /etc/rc.local

Code:
SSHD=/usr/local/openssh-4.6p1/sbin/sshd
if [-x "$SSHD"]
then
$SSDH && echo 'Starting SSHD'
fi
It boots fine, but how do i check if OpenSSH is acutally running?

Also, if I execute the command:
Code:
/usr/local/openssh-4.6p1/sbin/sshd
Will that start OpenSSH?

Or do i have to do something like:
Code:
/etc/rc.d/init.d/sshd start
Also, will the above code change because I installed OpenSSH in a non-default directory?

Thanks for any help!
 
Old 07-05-2007, 10:33 AM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 208Reputation: 208Reputation: 208
Alt & F2 type mcc press run, type root password, click ok. Go to System--> Enable or disable the system services see if it is listed in there. If it is you can see if it is running or not and you can check if it is set to start at boot. You can also start it from there if it is not running.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
openssh-3.6p1 configure zlib error fredward Linux - Newbie 5 12-22-2008 06:44 AM
Mandriva 2006 boot error - please take a look xodustrance Mandriva 3 05-17-2006 08:12 AM
rpmdrake broken | will not start | mandriva 2006 dfwcomputer Mandriva 2 05-02-2006 03:01 AM
Mandriva 2006 boot issue Juterassee Mandriva 5 03-02-2006 10:34 PM
Mandriva 2006 Failing to start cootetom Mandriva 14 02-27-2006 02:08 PM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration