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.
Port 22
Restart SSH sudo service ssh restart and then to SSH, use
sudo service ssh restart
ssh -i ~/.ssh/ssh_key root@server_ip -p PORT
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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.
Change
Port 22
to the port you want.Restart SSH
sudo service ssh restart
and then to SSH, use