re: How I setup my Digital Ocean Ubuntu 18.04 Server? VIEW POST


Great article, thanks for sharing!

In a next article you might one to share how to change the default port (22) to something more secure like 34982


Ok, I will add this.

sudo vi /etc/ssh/sshd_config

Change Port 22 to the port you want.

Restart SSH sudo service ssh restart and then to SSH, use

ssh -i ~/.ssh/ssh_key root@server_ip -p PORT
Code of Conduct Report abuse