General Account Operations

Discussion in 'Server Operation' started by mphayesuk, Aug 4, 2008.

  1. mphayesuk

    mphayesuk Member HowtoForge Supporter

    Hi guys, I am not a big Linux guy and i can seem to find the right example on the net.

    Using a Debian system:

    1) Create a new system user and only enable ssh for that user

    2) Disable ssh for the root user.

    As you can work out I am using the root user for ssh access which is not very good, so I need a system user for ssh and then su to root.

    Extra info I am using ISPConfig on this system as well.

  2. falko

    falko Super Moderator ISPConfig Developer

    To disable SSH root logins, open /etc/ssh/sshd_config and set PermitRootLogin to no, then restart SSH:
    /etc/init.d/ssh restart

Share This Page