zaterdag 5 maart 2011

Installing openSSH

Install openssh-server
sudo aptitude openssh-server
Okay installation was easy, now the configuration.
nano /etc/ssh/sshd_config
But before we do that we might want to take a backup of that.
sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config.original
After editing the /etc/ssh/sshd_config file you'll have to restart the server to let the changes have an effect. sudo /etc/init.d/ssh restart

Our ISP blocks port 22 so we'll set that to port 5022 in the /etc/ssh/sshd_config. We forward router port 5022 TCP and setup a free dns from dyndns.org. We use the
sudo /etc/init.d/ssh restart
and there we go. SSH is set-up.

Geen opmerkingen:

Een reactie posten