ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Linux Server Security

    IT Discussion
    linux security ssh vpn server
    5
    11
    2.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • AmbarishrhA
      Ambarishrh
      last edited by scottalanmiller

      Just read about further hardening servers via ssh access. IP restricting the SSH key access too, sounds like a good idea. This way even if your SSH key falls into wrong hands, they won't be able to connect unless its from those allowed IPs. Giving only access to servers via the VPN also be a good practice i guess

      1 Reply Last reply Reply Quote 2
      • AmbarishrhA
        Ambarishrh
        last edited by

        We have all servers accessible via SSH keys only but now going to add the allowed IPs for SSH key access as well

        1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller
          last edited by

          It's pretty common to lock down SSH access vi the firewall already. Further access on a key by key basis could be good too. Be careful, though, it is a good way to accidentally lock yourself out of the system.

          AmbarishrhA 1 Reply Last reply Reply Quote 2
          • stacksofplatesS
            stacksofplates
            last edited by stacksofplates

            I haven't looked online at all for this, but is it possible to restrict by domain? So if you're on a dynamic address you can still access if you have a dyndns setup for your house or wherever you are.

            (I guess if it's a VPS or something you could just access the console and allow your IP).

            1 Reply Last reply Reply Quote 1
            • AmbarishrhA
              Ambarishrh @scottalanmiller
              last edited by Ambarishrh

              @scottalanmiller all our servers are on xen so in case we get locked out I can fix that from xen cm console

              1 Reply Last reply Reply Quote 0
              • DashrenderD
                Dashrender
                last edited by Dashrender

                Isn't locking down from IP only useful as long as you know where you'll ever log in from?

                For example - Scott travels the world, he doesn't know day to day what IP he'll be SSHing in from.

                I'm guessing a super locked down Jump Box would be the best option here with two factor authentication.

                AmbarishrhA 1 Reply Last reply Reply Quote 0
                • AmbarishrhA
                  Ambarishrh @Dashrender
                  last edited by

                  @Dashrender what we have is ssh only allowed from our office IP and we have a vpn connection to our datacenter, allowed that as well. So in case if I work from home or outside I can connect to the vpn and then get access to the servers.

                  1 Reply Last reply Reply Quote 0
                  • dafyreD
                    dafyre
                    last edited by

                    Would it not be possible to also set up a Jump box for SSH access?

                    scottalanmillerS 1 Reply Last reply Reply Quote 1
                    • scottalanmillerS
                      scottalanmiller @dafyre
                      last edited by

                      @dafyre said:

                      Would it not be possible to also set up a Jump box for SSH access?

                      That's what we do to improve security for exactly this kind of need. VPNs are such a big security risk, we like to avoid them when possible.

                      DashrenderD 1 Reply Last reply Reply Quote 0
                      • DashrenderD
                        Dashrender @scottalanmiller
                        last edited by

                        @scottalanmiller said:

                        @dafyre said:

                        Would it not be possible to also set up a Jump box for SSH access?

                        That's what we do to improve security for exactly this kind of need. VPNs are such a big security risk, we like to avoid them when possible.

                        Why is a VPN a security risk? because they give you (generally) full access to the network?

                        scottalanmillerS 1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller @Dashrender
                          last edited by

                          @Dashrender said:

                          Why is a VPN a security risk? because they give you (generally) full access to the network?

                          Correct. They create unnecessary exposure. Direct access to all hosts (typically) for all protocols and ports. The protections of firewalls and proxies are bypassed. They are generally the least secure form of access because they are the laziest - just expose everything and hope for the best.

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • First post
                            Last post