Find the answer to your Linux question:
Results 1 to 4 of 4
I would really appreciate, if someone answer to below questions. 1. How to tell sshd (or the firewall) to ban ip address after -let's say- 3 failed attempts. 2. How ...
  1. #1
    Just Joined!
    Join Date
    Apr 2009
    Posts
    59

    OpenSSH security

    I would really appreciate, if someone answer to below questions.

    1. How to tell sshd (or the firewall) to ban ip address after -let's say- 3 failed attempts.

    2. How can I allow remote user to connect to the server only one connection per time.

    3. How can I allow ssh root login from perticular host.

    Thanks & regards
    Savook

  2. #2
    Linux Engineer b2bwild's Avatar
    Join Date
    Jul 2008
    Location
    Behind You!
    Posts
    1,108
    try this command once.
    man ssh_config
    Never make any misteaks.

    Read my Blog at --> Penguin Inside Subscribe Feed

  3. #3
    Just Joined!
    Join Date
    Apr 2009
    Location
    Berkeley, California
    Posts
    20
    Quote Originally Posted by savook View Post
    1. How to tell sshd (or the firewall) to ban ip address after -let's say- 3 failed attempts.
    Try installing denyhost.

  4. #4
    Linux Engineer b2bwild's Avatar
    Join Date
    Jul 2008
    Location
    Behind You!
    Posts
    1,108
    denyhost, is good option but fail2ban is better, it supports ssh, vsftpd and apache.
    Never make any misteaks.

    Read my Blog at --> Penguin Inside Subscribe Feed

Posting Permissions

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