Advertisement: Linux VPS for $4/month - based on OpenVZ, credit card accepted, automatic setup.
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
    Fli
    Fli is offline
    Administrator Fli's Avatar
    Join Date
    Mar 2013
    Posts
    2,474

    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-authen...gin-linux.html

    Or option be, setup SSH key access instead of password:
    A) https://support.hostgator.com/articl...ndows-or-linux
    B) http://www.ualberta.ca/CNS/RESEARCH/...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. Replies: 5
    Last Post: 10-22-2019, 11:29 AM
  2. 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
  3. 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
  4. 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