SFTP to Wordpress Developer
-
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.
-
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 iswebmaster
then your SFTP username iswebmaster@blog.example.com
The SFTP server to be used ismy.example.com
or whatever your Cloudron dashboard domain is and that on port 222 -
@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?
-
@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