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. Support
  3. can't login via ssh after fresh 7.5 install

can't login via ssh after fresh 7.5 install

Scheduled Pinned Locked Moved Solved Support
sshinstallation
22 Posts 5 Posters 1.4k Views 5 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.
    • potemkin_aiP potemkin_ai

      As an experience sharing - why wouldn't you add one line as a first line of the script, if that could save in some - rare - but still possible to happen cases? Is there some 'cons' for that?

      Surely understood if you won't respond, but would appreciate if you can share the reasoning behind your decisions, would love to know a bit more about your decisions.

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #10

      @potemkin_ai it's only a question of how common this is. I haven't heard of this issue reported since we launched Cloudron :-), so I just assume it's quite rare.

      Adding any line of code needs tests and proper care. For example, the line you gave does not have any output on DigitalOcean since there is no Port line in their config. Also, sshd can be configured via files in /etc/ssh/sshd_config.d as well. So, it's a question of how much time we want to spend on this and testing it across say 10 server providers. It's not a 5 min commit and forget thing 🙂

      potemkin_aiP 1 Reply Last reply
      2
      • girishG girish

        @potemkin_ai it's only a question of how common this is. I haven't heard of this issue reported since we launched Cloudron :-), so I just assume it's quite rare.

        Adding any line of code needs tests and proper care. For example, the line you gave does not have any output on DigitalOcean since there is no Port line in their config. Also, sshd can be configured via files in /etc/ssh/sshd_config.d as well. So, it's a question of how much time we want to spend on this and testing it across say 10 server providers. It's not a 5 min commit and forget thing 🙂

        potemkin_aiP Offline
        potemkin_aiP Offline
        potemkin_ai
        wrote on last edited by
        #11

        @girish I see, thank you very much for clarifying! 🙂

        1 Reply Last reply
        0
        • D Offline
          D Offline
          densco
          wrote on last edited by
          #12

          I have the same issue, can only login via ssh when I restart Cloudron and be very quick. I will do the grep command and check but ir seems that this one comes with the current version.

          1 Reply Last reply
          0
          • potemkin_aiP Offline
            potemkin_aiP Offline
            potemkin_ai
            wrote on last edited by
            #13

            Even I had it again 🙂
            Really - some sort of warning would be really of help!

            1 Reply Last reply
            1
            • girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #14

              @potemkin_ai valid point but I think @densco is a bot

              D 1 Reply Last reply
              0
              • girishG girish

                @potemkin_ai valid point but I think @densco is a bot

                D Offline
                D Offline
                densco
                wrote on last edited by
                #15

                Hi @girish,

                I'm no bot. Just installed Cloudroun on my new server on Sunday and the install went perfect - apart from this issue. The grep command showed the port I have chosen for ssh so this means that either Cloudron expects me to use another port or is blocking the chosen port which is unfortunate. Nevertheless I'm very happy with Cloudron but some kind of warning during setup would be highly beneficial.

                girishG 1 Reply Last reply
                2
                • C Offline
                  C Offline
                  ccfu
                  wrote on last edited by
                  #16

                  @girish

                  Would it not be a simple solution to just add a warning to https://docs.cloudron.io/installation/?

                  potemkin_aiP 1 Reply Last reply
                  0
                  • C ccfu

                    @girish

                    Would it not be a simple solution to just add a warning to https://docs.cloudron.io/installation/?

                    potemkin_aiP Offline
                    potemkin_aiP Offline
                    potemkin_ai
                    wrote on last edited by
                    #17

                    @ccfu even though I knew it's there, I still managed to fail twice 🙂
                    From my perspective, as opposed to the doc, real-life warning/check is much better; or both ways, actually - a warning with a link to the doc 🙂

                    1 Reply Last reply
                    0
                    • D densco

                      Hi @girish,

                      I'm no bot. Just installed Cloudroun on my new server on Sunday and the install went perfect - apart from this issue. The grep command showed the port I have chosen for ssh so this means that either Cloudron expects me to use another port or is blocking the chosen port which is unfortunate. Nevertheless I'm very happy with Cloudron but some kind of warning during setup would be highly beneficial.

                      girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by
                      #18

                      @densco sorry 😐

                      D 1 Reply Last reply
                      0
                      • girishG girish

                        @densco sorry 😐

                        D Offline
                        D Offline
                        densco
                        wrote on last edited by
                        #19

                        @girish No worries. I would be hesitant with new users going straight into an "old" issue myself.

                        1 Reply Last reply
                        3
                        • W Offline
                          W Offline
                          W1LMS
                          wrote on last edited by
                          #20

                          Wow, LOL, same thing happened to me and when I learned that someone had already reported it and nothing was done to alert others who also follow best practices with common ports, I was shocked. Would have saved me a lot of wasted time if this displayed an extremely simple alert. Oh well, thanks @girish.

                          I have never used Cloudron so was just testing it out. But seems now I have 2 firewalls, Azure and the built-in OS ufw/iptables seems to have been turned on (hence being locked out of SSH). Not sure how I feel about that. Hoping that can be disabled as I prefer to use my existing VNet security group.

                          But will play with it and see how I like it.

                          C 1 Reply Last reply
                          1
                          • girishG Offline
                            girishG Offline
                            girish
                            Staff
                            wrote on last edited by
                            #21

                            @W1LMS it's normal to have both the firewall active in Cloudron deployments. It would be quite reckless to run a public server with iptables disabled, no?

                            1 Reply Last reply
                            1
                            • W W1LMS

                              Wow, LOL, same thing happened to me and when I learned that someone had already reported it and nothing was done to alert others who also follow best practices with common ports, I was shocked. Would have saved me a lot of wasted time if this displayed an extremely simple alert. Oh well, thanks @girish.

                              I have never used Cloudron so was just testing it out. But seems now I have 2 firewalls, Azure and the built-in OS ufw/iptables seems to have been turned on (hence being locked out of SSH). Not sure how I feel about that. Hoping that can be disabled as I prefer to use my existing VNet security group.

                              But will play with it and see how I like it.

                              C Offline
                              C Offline
                              ccfu
                              wrote on last edited by
                              #22

                              @W1LMS See it as two levels of security. Firewall at DC level and at server level is also best practice.

                              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