VPS Setup Part 3 – Install and Configure OpenSSH

Step Three – Install and Configure OpenSSH

Install OpenSSH

sudo aptitude -y install openssh-server openssh-client

Edit the sshd_config file to listen on port 1999 instead of port 22

sudo nano /etc/ssh/sshd_config

Find Port 22 and change 22 to 1999 and then save the file.

Restart the SSH server so that the configuration takes hold.

sudo /etc/init.d/ssh restart

That’s it!

Part 4

Tomorrow, we are going to install the web server, nginx.

GD Star Rating
loading...
GD Star Rating
loading...

Related Articles

Random Articles

Post a Comment