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

    Managing Publicly hosted Linux Servers through Cockpit

    IT Discussion
    remote administration linux cockpit public question
    8
    31
    2.0k
    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.
    • DustinB3403D
      DustinB3403
      last edited by DustinB3403

      This is just something that came to mind as I am working on something else, which is if I had multiple linux servers hosted in client environments (just pretend 1 each) that I had to manage.

      Wouldn't using cockpit to manage each of these servers be the best approach?

      So my question is for the @scottalanmiller and @JaredBusch's etc for these customers, do you simply access the client site through a remote tool or VPN and then do whatever? Or do you publicly host Cockpit from the client site (using a static ip) to then access cockpit (either directly to the host) or to one master Cockpit Administration server?

      And if you are publicly hosting cockpit, I assume you're doing so individually for each system and not tying them all together through a single administrative cockpit interface.

      #ProbablyInsane

      DashrenderD travisdh1T 2 Replies Last reply Reply Quote 0
      • DashrenderD
        Dashrender @DustinB3403
        last edited by

        @dustinb3403 said in Managing Publicly hosted Linux Servers through Cockpit:

        And if you are publicly hosting cockpit, I assume you're doing so individually for each system and not tying them all together through a single administrative cockpit interface.

        Why not? This is exactly what most MSPs do. Stuff like this is why the MSP hacks last year were so bad... so many veterinarian offices pwned.

        Anyway - many, probably most, MSPs ITSPs use centralized software to manage their clients, How would this be any different?

        DustinB3403D 1 Reply Last reply Reply Quote 0
        • travisdh1T
          travisdh1 @DustinB3403
          last edited by

          @dustinb3403 said in Managing Publicly hosted Linux Servers through Cockpit:

          This is just something that came to mind as I am working on something else, which is if I had multiple linux servers hosted in client environments (just pretend 1 each) that I had to manage.

          Wouldn't using cockpit to manage each of these servers be the best approach?

          So my question is for the @scottalanmiller and @JaredBusch's etc for these customers, do you simply access the client site through a remote tool or VPN and then do whatever? Or do you publicly host Cockpit from the client site (using a static ip) to then access cockpit (either directly to the host) or to one master Cockpit Administration server?

          And if you are publicly hosting cockpit, I assume you're doing so individually for each system and not tying them all together through a single administrative cockpit interface.

          #ProbablyInsane

          Ansible or Salt would be my go-to instead of cockpit, but sure you could. I'd assume you already have a means to access the client's networks, so just use that access.

          DustinB3403D 1 Reply Last reply Reply Quote 0
          • DustinB3403D
            DustinB3403 @Dashrender
            last edited by

            @dashrender said in Managing Publicly hosted Linux Servers through Cockpit:

            @dustinb3403 said in Managing Publicly hosted Linux Servers through Cockpit:

            And if you are publicly hosting cockpit, I assume you're doing so individually for each system and not tying them all together through a single administrative cockpit interface.

            Why not? This is exactly what most MSPs do. Stuff like this is why the MSP hacks last year were so bad... so many veterinarian offices pwned.

            Anyway - many, probably most, MSPs ITSPs use centralized software to manage their clients, How would this be any different?

            Well that was my exact thought, if using a single administrative interface, if you leave the door open or the keys out, then it's essentially public access for everyone....

            My thought was allow cockpit to be managed by a MSP Cockpit, for all client linux systems.

            Still kind of crazy I believe

            1 Reply Last reply Reply Quote 0
            • DustinB3403D
              DustinB3403 @travisdh1
              last edited by

              @travisdh1 said in Managing Publicly hosted Linux Servers through Cockpit:

              @dustinb3403 said in Managing Publicly hosted Linux Servers through Cockpit:

              This is just something that came to mind as I am working on something else, which is if I had multiple linux servers hosted in client environments (just pretend 1 each) that I had to manage.

              Wouldn't using cockpit to manage each of these servers be the best approach?

              So my question is for the @scottalanmiller and @JaredBusch's etc for these customers, do you simply access the client site through a remote tool or VPN and then do whatever? Or do you publicly host Cockpit from the client site (using a static ip) to then access cockpit (either directly to the host) or to one master Cockpit Administration server?

              And if you are publicly hosting cockpit, I assume you're doing so individually for each system and not tying them all together through a single administrative cockpit interface.

              #ProbablyInsane

              Ansible or Salt would be my go-to instead of cockpit, but sure you could. I'd assume you already have a means to access the client's networks, so just use that access.

              Yeah, but Ansible or Salt would be for people who know how to use those tools, many MSP/ITSP still have service desk type folks who would be tasked with minor things like "reboot this server"

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

                @dustinb3403 said in Managing Publicly hosted Linux Servers through Cockpit:

                @travisdh1 said in Managing Publicly hosted Linux Servers through Cockpit:

                @dustinb3403 said in Managing Publicly hosted Linux Servers through Cockpit:

                This is just something that came to mind as I am working on something else, which is if I had multiple linux servers hosted in client environments (just pretend 1 each) that I had to manage.

                Wouldn't using cockpit to manage each of these servers be the best approach?

                So my question is for the @scottalanmiller and @JaredBusch's etc for these customers, do you simply access the client site through a remote tool or VPN and then do whatever? Or do you publicly host Cockpit from the client site (using a static ip) to then access cockpit (either directly to the host) or to one master Cockpit Administration server?

                And if you are publicly hosting cockpit, I assume you're doing so individually for each system and not tying them all together through a single administrative cockpit interface.

                #ProbablyInsane

                Ansible or Salt would be my go-to instead of cockpit, but sure you could. I'd assume you already have a means to access the client's networks, so just use that access.

                Yeah, but Ansible or Salt would be for people who know how to use those tools, many MSP/ITSP still have service desk type folks who would be tasked with minor things like "reboot this server"

                Are you really asking for those people? or for yourself?
                that said - I don't know how to use Ansible or Salt, so I know my place there 🙂

                DustinB3403D 1 Reply Last reply Reply Quote 0
                • DustinB3403D
                  DustinB3403 @Dashrender
                  last edited by

                  @dashrender said in Managing Publicly hosted Linux Servers through Cockpit:

                  @dustinb3403 said in Managing Publicly hosted Linux Servers through Cockpit:

                  @travisdh1 said in Managing Publicly hosted Linux Servers through Cockpit:

                  @dustinb3403 said in Managing Publicly hosted Linux Servers through Cockpit:

                  This is just something that came to mind as I am working on something else, which is if I had multiple linux servers hosted in client environments (just pretend 1 each) that I had to manage.

                  Wouldn't using cockpit to manage each of these servers be the best approach?

                  So my question is for the @scottalanmiller and @JaredBusch's etc for these customers, do you simply access the client site through a remote tool or VPN and then do whatever? Or do you publicly host Cockpit from the client site (using a static ip) to then access cockpit (either directly to the host) or to one master Cockpit Administration server?

                  And if you are publicly hosting cockpit, I assume you're doing so individually for each system and not tying them all together through a single administrative cockpit interface.

                  #ProbablyInsane

                  Ansible or Salt would be my go-to instead of cockpit, but sure you could. I'd assume you already have a means to access the client's networks, so just use that access.

                  Yeah, but Ansible or Salt would be for people who know how to use those tools, many MSP/ITSP still have service desk type folks who would be tasked with minor things like "reboot this server"

                  Are you really asking for those people? or for yourself?
                  that said - I don't know how to use Ansible or Salt, so I know my place there 🙂

                  I'm just asking in general, I'm doing some lab work, and thought, damn it sucks having to touch 1000 cockpit pages individually. Which of course still would occur with them all tied to a single cockpit "server".

                  But then I thought, how is this being managed on a public facing server. SSH I assume using keypairs is the obvious thing, but even that seems tedious.

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

                    @dustinb3403 said in Managing Publicly hosted Linux Servers through Cockpit:

                    @dashrender said in Managing Publicly hosted Linux Servers through Cockpit:

                    @dustinb3403 said in Managing Publicly hosted Linux Servers through Cockpit:

                    @travisdh1 said in Managing Publicly hosted Linux Servers through Cockpit:

                    @dustinb3403 said in Managing Publicly hosted Linux Servers through Cockpit:

                    This is just something that came to mind as I am working on something else, which is if I had multiple linux servers hosted in client environments (just pretend 1 each) that I had to manage.

                    Wouldn't using cockpit to manage each of these servers be the best approach?

                    So my question is for the @scottalanmiller and @JaredBusch's etc for these customers, do you simply access the client site through a remote tool or VPN and then do whatever? Or do you publicly host Cockpit from the client site (using a static ip) to then access cockpit (either directly to the host) or to one master Cockpit Administration server?

                    And if you are publicly hosting cockpit, I assume you're doing so individually for each system and not tying them all together through a single administrative cockpit interface.

                    #ProbablyInsane

                    Ansible or Salt would be my go-to instead of cockpit, but sure you could. I'd assume you already have a means to access the client's networks, so just use that access.

                    Yeah, but Ansible or Salt would be for people who know how to use those tools, many MSP/ITSP still have service desk type folks who would be tasked with minor things like "reboot this server"

                    Are you really asking for those people? or for yourself?
                    that said - I don't know how to use Ansible or Salt, so I know my place there 🙂

                    I'm just asking in general, I'm doing some lab work, and thought, damn it sucks having to touch 1000 cockpit pages individually. Which of course still would occur with them all tied to a single cockpit "server".

                    But then I thought, how is this being managed on a public facing server. SSH I assume using keypairs is the obvious thing, but even that seems tedious.

                    How is that tedious? it should be a once and done thing...

                    DustinB3403D 1 Reply Last reply Reply Quote 0
                    • DustinB3403D
                      DustinB3403 @Dashrender
                      last edited by

                      @dashrender said in Managing Publicly hosted Linux Servers through Cockpit:

                      @dustinb3403 said in Managing Publicly hosted Linux Servers through Cockpit:

                      @dashrender said in Managing Publicly hosted Linux Servers through Cockpit:

                      @dustinb3403 said in Managing Publicly hosted Linux Servers through Cockpit:

                      @travisdh1 said in Managing Publicly hosted Linux Servers through Cockpit:

                      @dustinb3403 said in Managing Publicly hosted Linux Servers through Cockpit:

                      This is just something that came to mind as I am working on something else, which is if I had multiple linux servers hosted in client environments (just pretend 1 each) that I had to manage.

                      Wouldn't using cockpit to manage each of these servers be the best approach?

                      So my question is for the @scottalanmiller and @JaredBusch's etc for these customers, do you simply access the client site through a remote tool or VPN and then do whatever? Or do you publicly host Cockpit from the client site (using a static ip) to then access cockpit (either directly to the host) or to one master Cockpit Administration server?

                      And if you are publicly hosting cockpit, I assume you're doing so individually for each system and not tying them all together through a single administrative cockpit interface.

                      #ProbablyInsane

                      Ansible or Salt would be my go-to instead of cockpit, but sure you could. I'd assume you already have a means to access the client's networks, so just use that access.

                      Yeah, but Ansible or Salt would be for people who know how to use those tools, many MSP/ITSP still have service desk type folks who would be tasked with minor things like "reboot this server"

                      Are you really asking for those people? or for yourself?
                      that said - I don't know how to use Ansible or Salt, so I know my place there 🙂

                      I'm just asking in general, I'm doing some lab work, and thought, damn it sucks having to touch 1000 cockpit pages individually. Which of course still would occur with them all tied to a single cockpit "server".

                      But then I thought, how is this being managed on a public facing server. SSH I assume using keypairs is the obvious thing, but even that seems tedious.

                      How is that tedious? it should be a once and done thing...

                      Yeah, but once and done means setup once for every possible system.

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

                        @dustinb3403 said in Managing Publicly hosted Linux Servers through Cockpit:

                        @dashrender said in Managing Publicly hosted Linux Servers through Cockpit:

                        @dustinb3403 said in Managing Publicly hosted Linux Servers through Cockpit:

                        @dashrender said in Managing Publicly hosted Linux Servers through Cockpit:

                        @dustinb3403 said in Managing Publicly hosted Linux Servers through Cockpit:

                        @travisdh1 said in Managing Publicly hosted Linux Servers through Cockpit:

                        @dustinb3403 said in Managing Publicly hosted Linux Servers through Cockpit:

                        This is just something that came to mind as I am working on something else, which is if I had multiple linux servers hosted in client environments (just pretend 1 each) that I had to manage.

                        Wouldn't using cockpit to manage each of these servers be the best approach?

                        So my question is for the @scottalanmiller and @JaredBusch's etc for these customers, do you simply access the client site through a remote tool or VPN and then do whatever? Or do you publicly host Cockpit from the client site (using a static ip) to then access cockpit (either directly to the host) or to one master Cockpit Administration server?

                        And if you are publicly hosting cockpit, I assume you're doing so individually for each system and not tying them all together through a single administrative cockpit interface.

                        #ProbablyInsane

                        Ansible or Salt would be my go-to instead of cockpit, but sure you could. I'd assume you already have a means to access the client's networks, so just use that access.

                        Yeah, but Ansible or Salt would be for people who know how to use those tools, many MSP/ITSP still have service desk type folks who would be tasked with minor things like "reboot this server"

                        Are you really asking for those people? or for yourself?
                        that said - I don't know how to use Ansible or Salt, so I know my place there 🙂

                        I'm just asking in general, I'm doing some lab work, and thought, damn it sucks having to touch 1000 cockpit pages individually. Which of course still would occur with them all tied to a single cockpit "server".

                        But then I thought, how is this being managed on a public facing server. SSH I assume using keypairs is the obvious thing, but even that seems tedious.

                        How is that tedious? it should be a once and done thing...

                        Yeah, but once and done means setup once for every possible system.

                        ummm... yeah? I guess I'm missing something - sure it's a ton of work for someone who has lots of clients/client machine/endpoints, whatever... that's just life of moving to a new tool.
                        now if you deployed Salt/Ansible at the same time, you might be able to save a shit ton of work in the future when a tool change is made.

                        1 Reply Last reply Reply Quote 0
                        • 1
                          1337
                          last edited by

                          What most people seems to miss is that the Solarwind attack was a supply chain attack.
                          That means that the tool itself was compromised.

                          That means that any tool, regardless of how you use it, is at risk for this kind of attack. It certainly doesn't have to be anything that is centrally hosted/administered.

                          Even ssh itself is at risk, but it's more likely to occur in tools where you have lots of source code from many sources. For instance ansible or devops tooling.

                          stacksofplatesS 1 Reply Last reply Reply Quote 0
                          • CloudKnightC
                            CloudKnight
                            last edited by

                            Cockpit looks nice and all that, but the version I tried didn't seem to have as many features or as much control like webmin does.

                            black3dynamiteB 1 Reply Last reply Reply Quote 0
                            • stacksofplatesS
                              stacksofplates @1337
                              last edited by stacksofplates

                              @pete-s said in Managing Publicly hosted Linux Servers through Cockpit:

                              What most people seems to miss is that the Solarwind attack was a supply chain attack.
                              That means that the tool itself was compromised.

                              That means that any tool, regardless of how you use it, is at risk for this kind of attack. It certainly doesn't have to be anything that is centrally hosted/administered.

                              Even ssh itself is at risk, but it's more likely to occur in tools where you have lots of source code from many sources. For instance ansible or devops tooling.

                              nobody was mentioning Solardwinds. They were referencing specific MSPs being breached and all of their clients being on the same networks.

                              The Solarwinds hack was from an injection during a pipeline where they modified the actual binary that was built. Ansible wouldn't be compromised that way since it's a Python package and you can just pull the Ansible source and run it. It doesn't need compiled.

                              Solarwinds is far from "devops tooling" and that feels like a weird thing to say since most devops tooling is open source and not built in private like Solarwinds.

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

                                There's a big movement now around SBOM with tools like in-toto, SPIFFE/SPIRE, TUF, and a lot more. We are working with gov't clients and they are headed towards requiring SBOM information for each release.

                                DustinB3403D 1 Reply Last reply Reply Quote 0
                                • DustinB3403D
                                  DustinB3403 @stacksofplates
                                  last edited by

                                  @stacksofplates said in Managing Publicly hosted Linux Servers through Cockpit:

                                  There's a big movement now around SBOM with tools like in-toto, SPIFFE/SPIRE, TUF, and a lot more. We are working with gov't clients and they are headed towards requiring SBOM information for each release.

                                  It's been mandated that software now include a SBOM (see my recent post in IT news).

                                  stacksofplatesS 1 Reply Last reply Reply Quote 0
                                  • stacksofplatesS
                                    stacksofplates @DustinB3403
                                    last edited by

                                    @dustinb3403 said in Managing Publicly hosted Linux Servers through Cockpit:

                                    @stacksofplates said in Managing Publicly hosted Linux Servers through Cockpit:

                                    There's a big movement now around SBOM with tools like in-toto, SPIFFE/SPIRE, TUF, and a lot more. We are working with gov't clients and they are headed towards requiring SBOM information for each release.

                                    It's been mandated that software now include a SBOM (see my recent post in IT news).

                                    Yeah but that mandate is only for open source (for whatever dumb reason). I'm all for SBOMs for open source software, but it's ignoring the fact that the issue has historically come from closed source software. An SBOM is much less effective when you already have access to 99% of what's included in the product.

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

                                      We are working with Platform One and some others and they want to require it for everything. Hopefully that gets more traction.

                                      1 Reply Last reply Reply Quote 0
                                      • DustinB3403D
                                        DustinB3403 @stacksofplates
                                        last edited by

                                        @stacksofplates said in Managing Publicly hosted Linux Servers through Cockpit:

                                        @dustinb3403 said in Managing Publicly hosted Linux Servers through Cockpit:

                                        @stacksofplates said in Managing Publicly hosted Linux Servers through Cockpit:

                                        There's a big movement now around SBOM with tools like in-toto, SPIFFE/SPIRE, TUF, and a lot more. We are working with gov't clients and they are headed towards requiring SBOM information for each release.

                                        It's been mandated that software now include a SBOM (see my recent post in IT news).

                                        Yeah but that mandate is only for open source (for whatever dumb reason). I'm all for SBOMs for open source software, but it's ignoring the fact that the issue has historically come from closed source software. An SBOM is much less effective when you already have access to 99% of what's included in the product.

                                        Well it mentions open source specifically, but also targets close source

                                        stacksofplatesS 1 Reply Last reply Reply Quote 0
                                        • stacksofplatesS
                                          stacksofplates @DustinB3403
                                          last edited by

                                          @dustinb3403 said in Managing Publicly hosted Linux Servers through Cockpit:

                                          @stacksofplates said in Managing Publicly hosted Linux Servers through Cockpit:

                                          @dustinb3403 said in Managing Publicly hosted Linux Servers through Cockpit:

                                          @stacksofplates said in Managing Publicly hosted Linux Servers through Cockpit:

                                          There's a big movement now around SBOM with tools like in-toto, SPIFFE/SPIRE, TUF, and a lot more. We are working with gov't clients and they are headed towards requiring SBOM information for each release.

                                          It's been mandated that software now include a SBOM (see my recent post in IT news).

                                          Yeah but that mandate is only for open source (for whatever dumb reason). I'm all for SBOMs for open source software, but it's ignoring the fact that the issue has historically come from closed source software. An SBOM is much less effective when you already have access to 99% of what's included in the product.

                                          Well it mentions open source specifically, but also targets close source

                                          Ah I read the first part. It made it sound like it was only open source.

                                          DustinB3403D 1 Reply Last reply Reply Quote 0
                                          • DustinB3403D
                                            DustinB3403 @stacksofplates
                                            last edited by

                                            @stacksofplates said in Managing Publicly hosted Linux Servers through Cockpit:

                                            @dustinb3403 said in Managing Publicly hosted Linux Servers through Cockpit:

                                            @stacksofplates said in Managing Publicly hosted Linux Servers through Cockpit:

                                            @dustinb3403 said in Managing Publicly hosted Linux Servers through Cockpit:

                                            @stacksofplates said in Managing Publicly hosted Linux Servers through Cockpit:

                                            There's a big movement now around SBOM with tools like in-toto, SPIFFE/SPIRE, TUF, and a lot more. We are working with gov't clients and they are headed towards requiring SBOM information for each release.

                                            It's been mandated that software now include a SBOM (see my recent post in IT news).

                                            Yeah but that mandate is only for open source (for whatever dumb reason). I'm all for SBOMs for open source software, but it's ignoring the fact that the issue has historically come from closed source software. An SBOM is much less effective when you already have access to 99% of what's included in the product.

                                            Well it mentions open source specifically, but also targets close source

                                            Ah I read the first part. It made it sound like it was only open source.

                                            Not that anyone but the US Government will know what is actually included in any specific closed source software

                                            stacksofplatesS 1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post