LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-04-2004, 12:58 AM   #1
ebenh
LQ Newbie
 
Registered: Aug 2004
Posts: 14

Rep: Reputation: 0
How do I stop the sshd daemon in Libranet/Debian?


How can I shutdown the ssh server on my workstation? I would like to be able to start and stop it as i please.

-thanks

Last edited by ebenh; 09-04-2004 at 09:40 AM.
 
Old 09-04-2004, 01:05 AM   #2
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,511

Rep: Reputation: 46
In my suse 9.1 it would be

rcsshd stop

to stop and

rcsshd start

to start.

You can also do

rcsshd status

just to check.

Last edited by bruno buys; 09-04-2004 at 01:06 AM.
 
Old 09-04-2004, 04:08 AM   #3
jev-bird
Member
 
Registered: Jul 2004
Location: USofA
Distribution: Whatever runs accordingly.
Posts: 200

Rep: Reputation: 30
Depends on what kind of system you have and what kind of scripts it uses. For a lot of systems morso red hat based distros it would be this:

/etc/init.d/sshd stop
/etc/init.d/sshd start
/etc/init.d/sshd restart

Pretty self-explanatory.
 
Old 09-04-2004, 09:19 AM   #4
ebenh
LQ Newbie
 
Registered: Aug 2004
Posts: 14

Original Poster
Rep: Reputation: 0
Neither of thoes work, I am using libranet (it's a debian based distro).
 
Old 09-04-2004, 12:27 PM   #5
jev-bird
Member
 
Registered: Jul 2004
Location: USofA
Distribution: Whatever runs accordingly.
Posts: 200

Rep: Reputation: 30
Have a look in /etc directory or do an slocate or locate

slocate -U / && slocate sshd

Also have a look at /etc/inetd.conf. Last time I used Debian I think it starts up thoose services using that file. That's one of the first distro's I started out learning on and I left it pretty quick exactly for thoose reasons. There were no tools or handy scripts that I knew of at that time unless you knew alot about Linux.

I was more interested in killing services I did not need instead of starting and stopping them on demand.

Last edited by jev-bird; 09-04-2004 at 12:39 PM.
 
Old 09-04-2004, 01:06 PM   #6
comp12345
Member
 
Registered: Feb 2004
Posts: 467

Rep: Reputation: 30
/etc/init.d/ssh stop
/etc/init.d/ssh start
/etc/init.d/ssh restart

If you want to stop it from running at boot, then type "dpkg-reconfigure ssh" and select no when asked "Do you want to run sshd server?"
 
  


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
sshd: fatal: daemon() failed: No such device oru Linux - Networking 10 08-13-2013 03:06 PM
SSHD + Daemon questions ps2cho Linux - Distributions 1 06-30-2005 06:56 PM
if i stop sshd joesbox Linux - Security 6 10-14-2003 01:38 PM
How to stop and restart sendmail daemon? J_Szucs Linux - Newbie 4 06-11-2002 11:31 PM
How to stop SSHD process???? adamrau Linux - Security 2 12-07-2001 03:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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