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. SSH not working after Cloudron installation

SSH not working after Cloudron installation

Scheduled Pinned Locked Moved Solved Support
installationsshfirewall
5 Posts 2 Posters 821 Views 2 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.
  • jnovecJ Offline
    jnovecJ Offline
    jnovec
    wrote on last edited by girish
    #1

    Hello,

    Let me ask you for a support for our Cloudron installation.

    I reinstalled server to Ubuntu 22.04.
    I set login only with ssh key
    I changed a port for SSH to 2222
    I changes PaswordAuthentification to NO

    Then I installed Cloudron.

    Now it is not working. It is not possible to login onto server with SSH.

    Where can be the problem?
    Do Cloudron setup some change to firewall or ?

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

      @jnovec You can change the SSH port after Cloudron is installed. Because Cloudron installs it's own firewall, it assumes that port is 22 at installation time. You can change this post installation to any port by following https://docs.cloudron.io/security/#securing-ssh-access

      1 Reply Last reply
      0
      • jnovecJ Offline
        jnovecJ Offline
        jnovec
        wrote on last edited by
        #3

        Oh. I set it to port 2222 before installation.

        Can Cloudron firewall open port 2222 to be able to change this configuration now ?

        Because if not open I am locked and not possible for me to connect to server now...

        Many thanks in advance

        1 Reply Last reply
        0
        • girishG girish marked this topic as a question on
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #4

          @jnovec you cannot connect via 2222 anymore since it is already locked in firewall post installation. Don't know your setup but many server providers provide a web server console for exactly this situation. You can login in the console there and edit /home/yellowtent/platformdata/firewall/ports.json to white list the port. Otherwise, it's easier to just start afresh.

          1 Reply Last reply
          0
          • jnovecJ Offline
            jnovecJ Offline
            jnovec
            wrote on last edited by
            #5

            Yeah. I know what you mean. Ok I will start afresh 🙂
            With this information now it will be ok to configure from scratch.

            Many thanks

            Jan

            1 Reply Last reply
            1
            • girishG girish has marked this topic as solved on
            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