-
Notifications
You must be signed in to change notification settings - Fork 0
Server Configuration
abasourdi edited this page Mar 4, 2013
·
2 revisions
The steps belows explains how to configure the server on a GNU/Linux system. This tutorial is done for Ubuntu, any version should work.
Install the package openssh-serverExample
sudo apt-get install openssh-server`
Congratulation, you have now a ssh server running on your computer.
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.
Open a terminal, and type:
ssh user@yourlocalip
And enter your password. If it works, congratulation, you have set up your ssh server!