About Linux FAQ

Browse More FAQs:

Ubuntu Linux: Start / stop / restart OpenSSH / ssh server

Posted by Vivek Gite [Last updated: July 31, 2008]

Q. I need to provide remote access to my server. How do I start / stop ssh server under Ubuntu Linux 7.04 operating system?

A. You need to run script /etc/init.d/ssh to stop / start / restart OpenSSH server.

Start OpenSSH server

Type the following command:
$ sudo /etc/init.d/ssh start

Stop OpenSSH server

Type the following command:
$ sudo /etc/init.d/ssh stop

Restart OpenSSH server

Type the following command:
$ sudo /etc/init.d/ssh restart

Is your site working? Monitor Your Web Site 24/7. Get SMS alerts on server downtime. Free 30-day trial including 20 SMS!

E-mail    Print    Can't find an answer to your question? Contact us

Related Other Helpful FAQs:

Discussion on This FAQ

  1. ORLY Says:

    Really? Starting, stopping, and restarting all require the exact same instructions?

  2. vivek Says:

    Thanks for the heads up, it was a typo. The FAQ has been updated.

Leave a Reply

We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Tags: , , , , , , , ,

Copyright © 2006-2008 nixCraft. All rights reserved - TOS/Disclaimer - Privacy policy - Sitemap - Powered by Open source software.