Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
Prevent root login with ssh
Results 1 to 3 of 3

Thread: Prevent root login with ssh

  1. #1

    Prevent root login with ssh

    Using RH 7.3
    Where/how do i prevent the root user logging in using ssh
    Spot told me once on irc but i been dun forgot?

    ta
    Its better to regret something you have done than to regret something you havent done :P

  2. #2
    JimH
    Guest

    Re:Prevent root login with ssh

    Edit /etc/ssh/sshd_config and...

    PermitRootLogin no

    You should also allow only logins using ssh2

    Protocol 2

    ssh2 is more secure then ssh1

    Then restart sshd: service sshd restart

  3. #3

    Re:Prevent root login with ssh

    Thank you muchly Jim
    Its better to regret something you have done than to regret something you havent done :P

Similar Threads

  1. Can't login to root
    By toastrack in forum Suse
    Replies: 4
    Last Post: 12-05-2009, 04:28 AM
  2. root login
    By wireddad in forum Linux - General Topics
    Replies: 3
    Last Post: 06-23-2003, 05:36 AM
  3. login as root
    By nimbus in forum Linux - General Topics
    Replies: 3
    Last Post: 06-11-2003, 11:19 PM
  4. X is automatically killed for user or root login
    By Sathya in forum Redhat / Fedora
    Replies: 2
    Last Post: 01-10-2003, 02:19 AM
  5. Telnet/FTP & Root login
    By Oxjockey in forum Redhat / Fedora
    Replies: 7
    Last Post: 12-06-2002, 01:12 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •