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

    SFTP to Wordpress Developer

    WordPress (Developer)
    sftp
    5
    9
    392
    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.
    • P
      pablotll last edited by girish

      Hi, I'm trying to access my wordpress files. I get the error "user name or password was not accepted by the server".

      I've tried using the access details provided in the access control tab (my.example.com, user@example.com, port 222) with my cloudron password (owner). Then I noticed this on the same tab: This app has its own user management. This setting also controls SFTP access.

      So I guess this means my wordpress user is the one with SFTP access? but I've also tried with my wordpress user which was set to admin by default and can't be changed and it didn't work either. Tried wordpress user with cloudron password and nope, cloudron user with wordpress password nope.

      Can someone please explain exactly what user name password combination should I use for this case?

      Thank you.

      jdaviescoates 1 Reply Last reply Reply Quote 0
      • jdaviescoates
        jdaviescoates @pablotll last edited by

        @pablotll I'm not sure but I think perhaps if you're not using LDAP then SFTP won't work.

        I use Cloudron with Gandi & Hetzner

        1 Reply Last reply Reply Quote 1
        • nebulon
          nebulon Staff last edited by

          SFTP always works with the user on your Cloudron. If the app is setup to use its own usermanagement, then the access control settings in the Cloudron dashboard apply to SFTP still. So for a start, make sure that your Cloudron user is allowed based on that setting for the app.
          Then the SFTP username is <yourCloudronUsername>@<app.domain>. So for example if WordPress is installed at blog.example.com and your username is webmaster then your SFTP username is webmaster@blog.example.com The SFTP server to be used is my.example.com or whatever your Cloudron dashboard domain is and that on port 222

          robi 1 Reply Last reply Reply Quote 3
          • robi
            robi @nebulon last edited by

            @nebulon said in SFTP to Wordpress Developer:

            SFTP always works with the user on your Cloudron. If the app is setup to use its own usermanagement, then the access control settings in the Cloudron dashboard apply to SFTP still.

            So for a non-cloudron managed app user, how does cloudron know to auth the user for that app it doesn't manage users for?

            Life of Advanced Technology

            nebulon 1 Reply Last reply Reply Quote 0
            • nebulon
              nebulon Staff @robi last edited by

              @robi Cloudron cannot know the credentials then, but you would also not be able to login with the app-local user. SFTP login would be still with the Cloudron users (which is why those access control settings would still apply for SFTP)

              I see that this is a bit confusing and not easy to clearly communicate for me as well 😕

              robi 1 Reply Last reply Reply Quote 1
              • robi
                robi @nebulon last edited by

                @nebulon So a summary then would be that:

                "Only Cloudron managed users are able to use SFTP."

                Life of Advanced Technology

                D 1 Reply Last reply Reply Quote 1
                • D
                  derin @robi last edited by

                  @robi In what hosting environment can the wordpress user ever access SFTP. It's always a server user.

                  robi 1 Reply Last reply Reply Quote 0
                  • robi
                    robi @derin last edited by

                    @derin I was helping @nebulon wordsmith a bit better, and paint a clearer picture to our users.

                    I am aware of your point, hence my funny question above 😉

                    Life of Advanced Technology

                    D 1 Reply Last reply Reply Quote 0
                    • D
                      derin @robi last edited by

                      @robi Oh.....😊 well that went way over my head.

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