Sunday, January 11, 2015

Secure SSH Login to Your Ubuntu VPS

Change SSH Port to something else.

Using something other than the default Port 22 for the ssh server can help avoid attacks by script kiddies. To do so, run command to edit the ssh config file: ~
[09:41:40]⌘  vim /etc/ssh/sshd_config

Find out Port 22, change to Port 22222 or any other number between 1024 and 65536. After this step, you can do SSH access by running below command: ~
[09:42:40]⌘  ssh -l root -p 22222


  1. I liked your work and the way in which you have shared this article here about vps. It is a beneficial and helpful article for us. Thanks for sharing an article like this.

  2. A VPS will allow for more flexibility and easier scalability as you expand your business. In addition, the low cost of using a VPS makes this option affordable for nearly any enterprise. If you are in need of a hosting service for your business, you will want to consider a virtual private server. Best Windows 10 VPS

  3. You've shared some incredibly useful information. This is frequently a terrific way for us to broaden our knowledge while remaining useful. Thank you for bringing this article to our attention. linux vps server

  4. You've shared useful video about Offshore Vps Provider. This article provided me with some useful knowledge. Thank you for sharing that. Keep up the good work.