Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Discuss
  3. Suggestion: in the doc, linking SSH access securing and port whitelisting

Suggestion: in the doc, linking SSH access securing and port whitelisting

Scheduled Pinned Locked Moved Discuss
docsssh
5 Posts 3 Posters 636 Views 3 Watching
  • 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.
    • S Offline
      S Offline
      sholan
      wrote on last edited by girish
      #1

      Edit:
      Hello everyone,

      The security page of Cloudron doc, in "Securing SSH Access", advises to relocate SSH Server to a different port (security through obscurity), to prevent bruteforce attacks. The only advised (and available port) is 202, which means the expected effect is now void, because the whole community is forced to behave the same way.

      On the other end, the networking documentation page indicates how to open port on a cloudron install the clean way.

      Those two pages should be linked (security => network) and the 202 restriction should be un-mentionned.

      1 Reply Last reply
      1
      • nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #2

        As you indicate, obscurity is not security, we only added the default 202 option there since nearly all attacks are rather generic and Cloudron isn't popular enough to make a dent here, so just moving it to 202 is a good compromise it reduces the attempts by such bruteforce tools by a lot.

        Further if someone is really targetting you, a portscan will reveal the SSH port anyways eventually, so not too much to gain. The main part is to use strong SSH keys and properly configured SSHd which is the case on most VPS provider (if they adjust the Ubuntu defaults at all)

        If you know your way around SSHd config and firewalls, then sure change it to your taste. The 202 is just a tradeoff for less experienced users.

        S 1 Reply Last reply
        0
        • nebulonN nebulon

          As you indicate, obscurity is not security, we only added the default 202 option there since nearly all attacks are rather generic and Cloudron isn't popular enough to make a dent here, so just moving it to 202 is a good compromise it reduces the attempts by such bruteforce tools by a lot.

          Further if someone is really targetting you, a portscan will reveal the SSH port anyways eventually, so not too much to gain. The main part is to use strong SSH keys and properly configured SSHd which is the case on most VPS provider (if they adjust the Ubuntu defaults at all)

          If you know your way around SSHd config and firewalls, then sure change it to your taste. The 202 is just a tradeoff for less experienced users.

          S Offline
          S Offline
          sholan
          wrote on last edited by
          #3

          @nebulon
          Fair enough, I do understand and agree with all you said, but shouldn't the documentation still be a bit more helpful for stubborn users like who don't like to do the same as everyone ?

          1 Reply Last reply
          0
          • girishG girish referenced this topic on
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by girish
            #4

            I have added a link in the note section at https://docs.cloudron.io/security/#securing-ssh-access . Changed the comment in sshd as well.

            1 Reply Last reply
            3
            • S Offline
              S Offline
              sholan
              wrote on last edited by
              #5

              Feels nice, thank you guys !

              1 Reply Last reply
              1
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Bookmarks
                • Search