Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 01-01-2013, 08:23 PM   #1
LQ Newbie
Registered: Jan 2013
Posts: 4

Rep: Reputation: Disabled
Question How to give highest priority to SSH service to run on boot (RHEL6 64 bit)

Hi all,

May i ask a question, how to give SSH service highest priority to start on boot time on RHEL6 64 bit?

I want to be able to immediately SSH in to a linux server once it is restarted (dont mind to wait other services to start up).

Thanks in advance,

Old 01-02-2013, 03:59 AM   #2
Registered: Jul 2011
Posts: 80

Rep: Reputation: Disabled
services in boot process start base on number that their link have in runlevel folder. you can change their number to lower number to change its starting order. but be careful to don't make it so lower that it starts before its dependency services like networking.
you can find those runlevel folders in one of these addressees :
The runlevel-specific scripts are stored in /etc/rc.d/rc?.d, /etc/init.d/rc?.d, /etc/rc?.d,
? is runlevel number.
Old 01-02-2013, 10:27 PM   #3
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Note that you couldn't make ssh the very first service to start -- you'd need to wait at least until networking is up and running.
Old 01-02-2013, 10:40 PM   #4
LQ Newbie
Registered: Jan 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks for your suggestion guys....
Some of your tips help to reduce the boot time...

I will keep looking for other ways to optimize the boot time more.


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
Run winbind daemon with highest resource priority automatically? baysie Linux - Newbie 1 07-10-2011 07:34 PM
how to run kvm(rhel6) on 32 bit architecture happyprince1990 Linux - Newbie 2 06-20-2011 12:57 PM
which value is for highest priority for real-time processes icoming Linux - Software 3 12-19-2009 10:30 PM
Assigning highest priority to process. gangaraju Fedora 3 02-07-2006 02:22 PM
Priority: script to run on boot vs. "service iptables save" iheardrain Linux - General 5 09-30-2004 09:53 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:11 AM.

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