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. Replies: 3
    Last Post: 10-16-2008, 05:02 AM
  2. Burning Debian ISO's Right Now
    By johnqpublic in forum Ubuntu / Debian
    Replies: 9
    Last Post: 11-21-2007, 10:03 AM
  3. Can't get to Desktop in Konsole
    By tlinux in forum Linux - General Topics
    Replies: 2
    Last Post: 11-20-2007, 12:57 AM
  4. FreeBSD 6.2 - Installing BASE, WWW issue
    By NipponDSM in forum BSD
    Replies: 8
    Last Post: 01-30-2007, 07:25 AM
  5. DSP-device fsk'd up ;-(
    By Pantheus in forum Linux - General Topics
    Replies: 28
    Last Post: 09-05-2002, 01:13 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
  •