Ubuntu Linux: Start / stop / restart OpenSSH / ssh server
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
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!
Tags: etc_init.d_ssh, init, openssh, remote access, restart ssh, ssh server, start ssh, stop ssh, sudo command



July 30th, 2008 at 8:31 pm
Really? Starting, stopping, and restarting all require the exact same instructions?
July 31st, 2008 at 3:42 am
Thanks for the heads up, it was a typo. The FAQ has been updated.