LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-29-2007, 10:36 PM   #1
Verbal Kint
Member
 
Registered: Apr 2004
Posts: 99

Rep: Reputation: 15
Starting/Stopping SSH


Can someone please tell me how to start/stop ssh via terminal window on Ubuntu 7.04?

Thanks
 
Old 07-30-2007, 01:11 AM   #2
z-vet
Member
 
Registered: Aug 2004
Location: Israel
Distribution: Ubuntu 10.10
Posts: 271

Rep: Reputation: 34
Start:
Code:
/etc/init.d/ssh start
Stop:
Code:
/etc/init.d/ssh stop
Restart:
Code:
/etc/init.d/ssh restart
You run these as root, of course.
Hope this helps.
 
Old 07-30-2007, 04:20 PM   #3
shorun
Member
 
Registered: Mar 2006
Location: belguim
Distribution: fedora, mandriva, suse
Posts: 148

Rep: Reputation: 15
if not,

ps -e |grep sshd
0001
26586
it will give numbers, those are your pid numbers
kill 0001 && kill 26586
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Starting and Stopping services leupi Ubuntu 6 01-20-2007 05:12 PM
stopping and starting net Tinku Linux - Networking 1 08-04-2004 08:58 AM
stopping xserver from starting up? Zaskar Debian 17 03-20-2004 06:59 PM
Stopping X from starting KennyK Linux - Software 4 06-03-2003 08:12 PM
stopping and starting services nero64 Linux - Newbie 3 11-13-2002 01:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:36 PM.

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