Advertisement: Linux VPS from $4/month - contact support for custom offer.
See the top rated post in this thread. Click here

+ Post New Thread
Results 1 to 3 of 3

Thread: A security function that request for something before sign in my linux server via SSH

  1. #1
    Administrator
    Join Date
    Mar 2013
    Posts
    2,811

    A security function that request for something before sign in my linux server via SSH

    Hello, can You provide a security function that request for something (second level authentication) before sign in my server? I mean so its harder to get in..

    i think it might be possible using Googles two factor authentication software for Linux: http://xmodulo.com/two-factor-authentication-ssh-login-linux.html

    Or option be, setup SSH key access instead of password:
    A) https://support.hostgator.com/articles/specialized-help/technical/ssh-keying-through-putty-on-windows-or-linux
    B) http://www.ualberta.ca/CNS/RESEARCH/LinuxClusters/pka-putty.html

    One can also edit /etc/ssh/sshd_config file
    and change ones port number to something non-standard like "789", save and "service sshd restart" to apply changes

  2. #2
    Junior Member
    Join Date
    Oct 2015
    Posts
    4


    1/1 found it usefull/helpfull Is this useful / helpfull? Yes | No
    What you can also set up for added security is to configure an account lockout policy on SSH so it would never be susceptible to brute force attacks.

  3. #3
    Junior Member imort's Avatar
    Join Date
    Apr 2016
    Posts
    15


    Is this useful / helpfull? Yes | No
    Quote Originally Posted by admin View Post
    Hello, can You provide a security fucntion that request for something (second level authentication) before sign in my server? I mean so its harder to get in..
    Well, you can use 2-factor authorization with any implementation you like, Google Authenticator for example.
    You also can use SSH lockout policy to block your account in suspicion of brute-force attack.

    But my advice is to use fairly standard 'fail2ban' package, which will track SSH logins and ban IP for chosen amounts of time if login unsuccessful.
    You can look how to install and configure it here.

+ Post New Thread

Similar Threads

  1. WTS [HOSTOLX] Cheap Dedicated Server in Dallas With 100% Security
    By neemaperl in forum Dedicated: Offers & Requests
    Replies: 0
    Last Post: 06-19-2018, 06:43 PM
  2. How to install PHP function "GMP" on WHM/cPanel server?
    By Fli in forum MySQL, Apache, PHP
    Replies: 0
    Last Post: 04-23-2015, 07:40 PM
  3. List of tools for Linux security audit scanning
    By Fli in forum Security, protection
    Replies: 0
    Last Post: 10-02-2013, 01:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
 Protected by : ZB BLOCK  &  StopForumSpam