How to Enable SSH on Ubuntu 13.04

Hello Linux Geeksters.

In this article I will show you how to install and enable ssh on Ubuntu 13.04 Raring Ringtail.

On Ubuntu, when you install the openssh-server package, ssh gets enabled by default:

$ sudo apt-get install openssh-server

To restart the ssh service, use:

$ sudo /etc/init.d/ssh restart

If you want to change the default settings, such as the default port, edit the /etc/ssh/sshd_config file:

$ gksudo gedit /etc/ssh/sshd_config

Tagged with: , , , , ,
Posted in The Linux and Unix Articles!
3 comments on “How to Enable SSH on Ubuntu 13.04
  1. John says:

    Thanks! Saved me a lot of fuss.

  2. vj says:

    This is a wrong way to restart the ssh service :
    sudo /etc/init.d/ssh restart

    This is how it should be restarted on ubuntu 13.04
    sudo restart ssh

Leave a Reply

Your email address will not be published. Required fields are marked *




Subscribe to get the latest Linux news and how to guides directly on your e-mail!