LinuxQuestions.org
Help answer threads with 0 replies.
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 10-30-2006, 07:03 PM   #1
micro_xii
Member
 
Registered: Sep 2006
Posts: 140

Rep: Reputation: 15
Question kill sshd


Greetings:

Im using SLES9.I command killall sshd but when I restart my sles the sshd is automatically on.What is the command to permanently stop the sshd.
 
Old 10-30-2006, 07:10 PM   #2
ak99505
Member
 
Registered: Feb 2005
Location: Missouri
Distribution: Ubuntu
Posts: 85

Rep: Reputation: 17
just remove the startup script from your rc directories, or it might be a simbolic link to the script, not sure how the /etc directy structure is for that distro. with ubuntu and a lot of other distros you'll have a series of directories
/etc/rc?.d replace ? with 0-6 and you'll have simbolic links in each directory to services that get started or killed for that run level, usually named S??sshd or K??sshd depending on wether that serves should be Started or Killed for that run level. the ?? will be a 2 digit number, is is just in references to order of precidence. change the S??sshd to K??sshd and it will stop the sshd in that run level, i'm guessing you don't want it in any run level show change it for all of them.
 
Old 10-31-2006, 05:24 AM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
You can do
Code:
#chkconfig sshd off
 
  


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
FC4-Starting sshd: Privilege separation user sshd does not exist FAILED kiranherekar Fedora 5 12-29-2005 03:22 PM
how to use kill to kill a batch of processes with same name? dr_zayus69 Linux - Software 2 09-03-2005 07:35 PM
reboot does not kill sshd erif Slackware 6 05-12-2004 12:39 PM
Enabling SSH in mandrake 9.2 - sshd vs. sshd-xinetd DogTags Linux - Newbie 7 11-25-2003 01:17 PM


All times are GMT -5. The time now is 10:50 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