how to do this on centos 5.1

Discussion in 'HOWTO-Related Questions' started by kadi, May 2, 2008.

  1. kadi

    kadi New Member

    hellp
    i read about these to add security to your system, and i have CentOS 5.1 on
    one of my servers (2) but i am more familiar with debian etch files so which
    files to do this changes and where to find those file :
    direct login to root = off and remote login =off.
    disable password authentication.
    Use SSH Keys instead and change SSH to a port other than 22.
    need some details how to do that with CentOS 5.1.
    Thanks very much:)
     
  2. zcworld

    zcworld New Member

    i think the changes you need to do are in the sshd.conf file
    @
    /etc/ssh/sshd_config.conf ( i think )
    but its in /etc/ssh ....

    you change them in there
    and than
    /etc/init.d/sshd restart
     

Share This Page