Activity Stream
48,167 MEMBERS
61926 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1.     
    #11
    Banned
    Website's:
    vaporhostn.com
    Quote Originally Posted by ibby View Post
    have you ever heard of a guy named NewEraCracker? he is good.
    He mainly does windows servers he is not a linux techy.

    As for GeeZus this is something you can easily do yourself.

    Learn deny and allow in iptables since you are using ubuntu.

    First edit /etc/ssh/sshd_config to listen only on your server ip address

    deny all traffic
    Code: 
    iptables -A INPUT -p tcp -s 0/0 --sport 513:65535 -d ser.ver.ip.here --dport 22 -m state --state NEW,ESTABLISHED -j DROP
    Accept from only your ip
    Code: 
    iptables -A INPUT -s ! you.r.i.p -p tcp -m --dport 22 -j ACCEPT
    edit: XSLTel pulled out a one liner well what he said should work.

  2.   Sponsored Links

  3.     
    #12
    Member
    Website's:
    NoSeriously.org
    Quote Originally Posted by ibby View Post
    have you ever heard of a guy named NewEraCracker? he is good.
    As James said, NEC deals with Windows mainly.


  4.     
    #13
    Doing things differently.
    Quote Originally Posted by XSLTel View Post
    iptables -A INPUT ! -s xx.xx.xx.xx --dport 22 -j DROP

    change xx.xx.xx.xx your IP.
    Only problem is..

    My IP sometimes change's the last 2/3 digits from time to time.

    How can i overcome that?
    $project->uploading($surprise);
    //Fatal error: found object, can't execute, no earn = must kill self..

  5.     
    #14
    Banned
    Website's:
    vaporhostn.com
    Change the ssh port to something else.

    Never heard of a dedicated server having a dynamic ip?

  6.     
    #15
    Banned
    Website's:
    xsl.tel xsltel.com
    iptables -A INPUT ! -s xx.xx.xx.xx/24 --dport 22 -j DROP

    this will whitelist your whole IP range

    xx.xx.xx.0 - xx.xx.xx.255

    or here in xsltel staff using VPN to access servers more secure tbh. 1 IP only.

  7.     
    #16
    Banned
    Website's:
    vaporhostn.com
    Quote Originally Posted by XSLTel View Post
    iptables -A INPUT ! -s xx.xx.xx.xx/24 --dport 22 -j DROP

    this will whitelist your whole IP range

    xx.xx.xx.0 - xx.xx.xx.255

    or here in xsltel staff using VPN to access servers more secure tbh. 1 IP only.
    White listing the entire subnet is a security risk.

    Also using a vpn is very smart to use most companies do this for their office employees to only connect to their network.

    But vpn's can be costly and at times fail if it is not your own private vpn.

  8.     
    #17
    Member
    Quote Originally Posted by GeeZus View Post
    OK i see, let me explain it abit more then.

    Say i've the following OS > Ubuntu

    And i don't want users to be able to login via ssh

    I shall the only one be able to login with the user's details into ssh.

    Kinda get what i'm saying now?
    to secure your ssh, first of all change the default ssh port

    create another user, grant him remote login privilege and disable root login. next time login with that user and switch to root .

    or better, disable password authentication and use password protected keys

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to Totally Optimise and Secure your Linux server
    By Ifirst in forum Server Management
    Replies: 0
    Last Post: 24th Sep 2012, 06:59 PM
  2. Secure your server against PHP Shells
    By Kw3rLn in forum Tutorials and Guides
    Replies: 6
    Last Post: 28th Oct 2011, 05:54 PM
  3. Secure a server?
    By Jesshost in forum Hosting Discussion
    Replies: 3
    Last Post: 11th Aug 2011, 07:21 PM
  4. Netherlands Upload Server - Secure?
    By ph0g in forum File Host Discussion
    Replies: 0
    Last Post: 6th Jun 2011, 07:59 PM
  5. How To Secure&Optimize A cPanel Server! [Full of information]
    By NationWebHost in forum Technical and Security Tutorials
    Replies: 6
    Last Post: 4th Jul 2010, 10:09 PM

Tags for this Thread

BE SOCIAL