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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    SSH into App Directly with External Tool (No Browser Terminal)

    Support
    ssh mysql
    2
    3
    31
    Loading More Posts
    • 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.
    • applecrusher
      applecrusher last edited by girish

      My goal is to SSH directly into my app so that I could use that as a tunnel into the MYSQL database instance (Wordpress). The browser ssh terminal is not sufficient and does not allow for this. I tried running the following command to connect:

      ssh karl@wordpress.myappdomain.com with the same password I use for the cloudron portal, but I get access denied.

      I also tried adding an app password in the App Passwords section in the profile. But that seems to be for SFTP. What are the steps to remote access a cloudron app with SSH? I could not find much on this topic and feel I am missing something obvious. Thank you.

      girish 1 Reply Last reply Reply Quote 0
      • girish
        girish Staff @applecrusher last edited by

        @applecrusher the app databases are purely "internal" and not easily accessible from outside. This is done for security reasons.

        With the CLI tool, you can do cloudron exec to get a shell and also execute mysql commands directly - https://docs.cloudron.io/packaging/cli/#execute-a-command . Not sure if that helps with your use case.

        1 Reply Last reply Reply Quote 2
        • girish
          girish Staff last edited by

          Also, see https://forum.cloudron.io/topic/3237/remote-sql-support-on-a-per-app-basis?_=1652377131316 on how one can connect with a SSH tunnel.

          1 Reply Last reply Reply Quote 2
          • First post
            Last post
          Powered by NodeBB