Latest News: Linux shell script to change you ssh port

Linux shell script to change you ssh port

Tutorial willing 246View(s) 0Comment

Our vps’s ssh port always scaned by some bad gay and Fail2ban is not enought.
You can change you default port for the security.
But there is many new gay doesn’t know how to change it.
We provide you a one key shell script to change you ssh default now.

 

Fill the command in a shell like changeport.sh, and run it.
After this, don’t forget to restart you ssh service.

 

This shell script if from OneinStack.

The last thing is don’t forget to add you new port to the firewall to allow it.

Please give credit to the original author when you use it elsewhere: VPS List Agent » Linux shell script to change you ssh port

Login to post a comment!