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. LAMP
  3. SFTP access for LAMP app

SFTP access for LAMP app

Scheduled Pinned Locked Moved LAMP
sftp
10 Posts 4 Posters 1.8k Views 4 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.
  • 32463 Offline
    32463 Offline
    3246
    wrote on last edited by girish
    #1

    Quick question, as I am too daft to figure it out myself by looking through the posts and docu:

    Where do I find the password for the SFTP user of the LAMP stack app?

    "Password - Cloudron password (password is the same for SFTP access to all apps)" and

    "Only Cloudorn admins have SFTP access. To give a specific user access to SFTP of a single app, make them an operator."

    Found at https://docs.cloudron.io/apps/#ftp-access

    Does this suggest it should be the same password as my main admin user?

    Also, despite having opened the required port 222, I get a message saying I cannot connect to my app. What's up with that? I've tried using the local IP of my Cloudron box too with the same results.

    👉 Find our more www.bebraver.online

    murgeroM 1 Reply Last reply
    0
    • 32463 3246

      Quick question, as I am too daft to figure it out myself by looking through the posts and docu:

      Where do I find the password for the SFTP user of the LAMP stack app?

      "Password - Cloudron password (password is the same for SFTP access to all apps)" and

      "Only Cloudorn admins have SFTP access. To give a specific user access to SFTP of a single app, make them an operator."

      Found at https://docs.cloudron.io/apps/#ftp-access

      Does this suggest it should be the same password as my main admin user?

      Also, despite having opened the required port 222, I get a message saying I cannot connect to my app. What's up with that? I've tried using the local IP of my Cloudron box too with the same results.

      murgeroM Offline
      murgeroM Offline
      murgero
      App Dev
      wrote on last edited by murgero
      #2

      @3246 In order to connect, you must use the FQDN of the app you are connecting to in your username, shown like below.

      Host: my.example.com
      Port: 222
      Username: exUser@app1.example.com (Note, this is NOT an email)
      Password: Cloudron password. (As in the one you use to sign into Cloudron)

      So for you, it could be:

      Host: my.3246.com
      Port: 222
      Username 3246@app1.3246.com
      Password: Cloudron Password.

      (Using your username to kind of fill in blank info)

      --
      https://urgero.org
      ~ Professional Nerd. Freelance Programmer. ~

      32463 2 Replies Last reply
      0
      • murgeroM murgero

        @3246 In order to connect, you must use the FQDN of the app you are connecting to in your username, shown like below.

        Host: my.example.com
        Port: 222
        Username: exUser@app1.example.com (Note, this is NOT an email)
        Password: Cloudron password. (As in the one you use to sign into Cloudron)

        So for you, it could be:

        Host: my.3246.com
        Port: 222
        Username 3246@app1.3246.com
        Password: Cloudron Password.

        (Using your username to kind of fill in blank info)

        32463 Offline
        32463 Offline
        3246
        wrote on last edited by
        #3

        @murgero Thank you. Do you mean the name of the app, not what Cloudron shows me?

        For example, the app has the FQDN example.com, while Cloudron shows me cloudronfqdn.com when I click on the SFTP settings for the app.

        👉 Find our more www.bebraver.online

        1 Reply Last reply
        0
        • murgeroM murgero

          @3246 In order to connect, you must use the FQDN of the app you are connecting to in your username, shown like below.

          Host: my.example.com
          Port: 222
          Username: exUser@app1.example.com (Note, this is NOT an email)
          Password: Cloudron password. (As in the one you use to sign into Cloudron)

          So for you, it could be:

          Host: my.3246.com
          Port: 222
          Username 3246@app1.3246.com
          Password: Cloudron Password.

          (Using your username to kind of fill in blank info)

          32463 Offline
          32463 Offline
          3246
          wrote on last edited by
          #4

          OK, tried that too but it's just not connecting to 222. I have restarted by routers and canyouseeme.org tells me port 222 is closed. How can I check this on Cloudron?

          👉 Find our more www.bebraver.online

          girishG 1 Reply Last reply
          0
          • 32463 3246

            OK, tried that too but it's just not connecting to 222. I have restarted by routers and canyouseeme.org tells me port 222 is closed. How can I check this on Cloudron?

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

            @3246 For a start, are you able to connect at all or is this an authentication issue (i.e post connection) ?

            Does telnet my.domain.com 222 work ? If it does, then atleast firewall etc work.

            32463 1 Reply Last reply
            0
            • girishG girish

              @3246 For a start, are you able to connect at all or is this an authentication issue (i.e post connection) ?

              Does telnet my.domain.com 222 work ? If it does, then atleast firewall etc work.

              32463 Offline
              32463 Offline
              3246
              wrote on last edited by
              #6

              @girish sadly that's not working, no. The services dashboard shows SFTP running and I can connect via SSH (using my system user login, not Cloudron).

              👉 Find our more www.bebraver.online

              nebulonN girishG 2 Replies Last reply
              0
              • 32463 3246

                @girish sadly that's not working, no. The services dashboard shows SFTP running and I can connect via SSH (using my system user login, not Cloudron).

                nebulonN Away
                nebulonN Away
                nebulon
                Staff
                wrote on last edited by
                #7

                @3246 the SFTP endpoint is using your Cloudron users now the system users. The username will be cloudronusername@appdomain The appdomain is required so the system knows to which app you want to connect. That is just a virtual email address and does not need to exist.

                1 Reply Last reply
                0
                • 32463 3246

                  @girish sadly that's not working, no. The services dashboard shows SFTP running and I can connect via SSH (using my system user login, not Cloudron).

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

                  @3246 thanks. My understanding is that you have this installed in your house, correct? If so, this is what I would do:

                  • Does telnet <internal-ip> 222 work? If this doesn't work, this is some cloudron related issue. I would also double check here that telnet <interal-ip> 22 works (the ssh port)
                  • If the above works, then can you double check if your router firewall is allowing incoming port 222 for the public IP and into this VM?
                  32463 1 Reply Last reply
                  0
                  • girishG girish

                    @3246 thanks. My understanding is that you have this installed in your house, correct? If so, this is what I would do:

                    • Does telnet <internal-ip> 222 work? If this doesn't work, this is some cloudron related issue. I would also double check here that telnet <interal-ip> 22 works (the ssh port)
                    • If the above works, then can you double check if your router firewall is allowing incoming port 222 for the public IP and into this VM?
                    32463 Offline
                    32463 Offline
                    3246
                    wrote on last edited by
                    #9

                    @girish SSH works, 222 does not

                    Services look normal:

                    2022-03-06 11.02.05 my.bebraver.cloud 8aa6aff3003d.png

                    👉 Find our more www.bebraver.online

                    girishG 1 Reply Last reply
                    0
                    • 32463 3246

                      @girish SSH works, 222 does not

                      Services look normal:

                      2022-03-06 11.02.05 my.bebraver.cloud 8aa6aff3003d.png

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

                      @3246 Strange indeed. I can't quite make out what the issue is. Can you drop a mail to support@cloudron.io with SSH access and I can try to debug?

                      1 Reply Last reply
                      0
                      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