Skip to content

Server Configuration

abasourdi edited this page Mar 4, 2013 · 2 revisions

Configuration

GNU/Linux-Mac Configuration

The steps belows explains how to configure the server on a GNU/Linux system. This tutorial is done for Ubuntu, any version should work.

Create the ssh server.

Install the package openssh-serverExamplesudo apt-get install openssh-server`

Congratulation, you have now a ssh server running on your computer.

Configure openssh-server

You need to add specific option to enable everything, the first step is to open the file: /etc/ssh/sshd_config

On Ubuntu, you will do: sudo gedit /etc/ssh/sshd_config

Here are the modification that are relevant/that you should do:

  • Port 22 - 22 is the default port for SSH. If you want to change it to something else, remember the value. Do not change it if you do not know what is it.

Test your server.

Open a terminal, and type: ssh user@yourlocalip And enter your password. If it works, congratulation, you have set up your ssh server!

Windows Configuration

Clone this wiki locally