sudo aptitude openssh-serverOkay 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.originalAfter 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 restartOur 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 restartand there we go. SSH is set-up.
Geen opmerkingen:
Een reactie posten