How to disable direct root Logins?

  1. SSH into your server as ‘admin’ and gain root access by su
  2. Copy and paste this line to edit the file for SSH logins  pico -w /etc/ssh/sshd_config
  3. Find the line  Protocol 2, 1
  4. Uncomment it and change it to look like Protocol 2
  5. Next, find the line  PermitRootLogin yes
  6. Uncomment it and make it look like PermitRootLogin no
  7. Save the file Ctrl+X then Y then enter
  8. Now you can restart SSH /etc/rc.d/init.d/sshd restart

These instructions can vary from system to system…

  • 44 istifadəçi bunu faydalı hesab edir
Bu cavab sizə kömək etdi?

Uyğun məqalələr

Can I use my domain name or must I use my IP address as the hostname for FTP?

Using your IP address (192.168.22.22  is an example IP address) is the preferred entry for...

Can you transfer my sites from my current host to my new VPS?

Yes. We will transfer all of your sites free* of charge and will assure that you experience no or...

Do you allow MP3 files? Do you allow streaming of videos?

Yes we do with our special plans at http://hostripples.in/avs-hosting.php

Do you support Cold Fusion?

We do not support or Cold Fusion on our shared hosting servers, however you are more than welcome...