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


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
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

Cloudron Forum

Apps | Demo | Docs | Install

SFTP access for LAMP app

Scheduled Pinned Locked Moved LAMP
sftp
10 Posts 4 Posters 419 Views
    • 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.

    Visit https://www.bebravernow.com for more

    murgeroM 1 Reply Last reply
    0
  • murgeroM Offline
    murgeroM Offline
    murgero App Dev
    replied to 3246 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. ~
    Matrix: @murgero:urgero.org

    32463 2 Replies Last reply
    0
  • 32463 Offline
    32463 Offline
    3246
    replied to murgero 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.

    Visit https://www.bebravernow.com for more

    1 Reply Last reply
    0
  • 32463 Offline
    32463 Offline
    3246
    replied to murgero 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?

    Visit https://www.bebravernow.com for more

    girishG 1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to 3246 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
  • 32463 Offline
    32463 Offline
    3246
    replied to girish 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).

    Visit https://www.bebravernow.com for more

    nebulonN girishG 2 Replies Last reply
    0
  • nebulonN Online
    nebulonN Online
    nebulon Staff
    replied to 3246 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
  • girishG Offline
    girishG Offline
    girish Staff
    replied to 3246 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
  • 32463 Offline
    32463 Offline
    3246
    replied to girish 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

    Visit https://www.bebravernow.com for more

    girishG 1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to 3246 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

  • Login

  • Don't have an account? Register

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

  • Don't have an account? Register

  • Login or register to search.