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

Notices


Reply
  Search this Thread
Old 01-01-2013, 08:23 PM   #1
ktjoe
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,

Kevin
 
Old 01-02-2013, 03:59 AM   #2
alieblice
Member
 
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
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
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
ktjoe
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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:18 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
Open Source Consulting | Domain Registration