Welcome to Centmin Mod Community
Become a Member

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:
    5:57 PM
    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

    30,178
    6,786
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,139
    Local Time:
    5:57 PM
    Nginx 1.13.x
    MariaDB 5.5
    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:
    5:57 PM
    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

    30,178
    6,786
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,139
    Local Time:
    5:57 PM
    Nginx 1.13.x
    MariaDB 5.5
    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