Join the community today
Register Now

Install Disable Root SSH ?

Discussion in 'Install & Upgrades or Pre-Install Questions' started by the caretaker, Dec 12, 2015.

  1. the caretaker

    the caretaker New Member

    14
    3
    3
    Nov 11, 2015
    Ratings:
    +4
    Local Time:
    12:00 AM
    1.9.6
    MariaDB 10
    When I go in / etc / ssh / sshd_config PermitRootLogin no
    I can not log in anymore peer ssh




    Version 123.09beta01
     
  2. eva2000

    eva2000 Administrator Staff Member

    54,907
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    12:00 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    of course that is as expected, by default only root user can SSH into a Centmin Mod server, so if you disable PermitRootLogin with no instead of yes, you won't be able to use root user to SSH into your server.
     
  3. the caretaker

    the caretaker New Member

    14
    3
    3
    Nov 11, 2015
    Ratings:
    +4
    Local Time:
    12:00 AM
    1.9.6
    MariaDB 10
    I thought if it was set to NO is not a peer ssh login possible!
     
  4. eva2000

    eva2000 Administrator Staff Member

    54,907
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    12:00 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    if you want to log in as root need to set to yes which is default

    the nginx vhost pure-ftpd virtual ftp user is only ftp capable, not ssh privileges