I did try everything that was mentioned in the posts, I didn't run into specific errors or something. But it just didn't work.
With these tutorials: I couldn't access the user I created at all.
@federico, I apology for misreading your question. About SFTP, the users with access to SFTP are the system users too, so you can add as I told above. But you don't have to modify the wp-config.php file. To restrict the access, you can edit the /etc/ssh/sshd_config file. You can add the following group at the end of the file: Subsystem sftp internal-sftp Match Group onlysftp ChrootDirectory %h ForceCommand internal-sftp AllowTcpForwarding no Then, you have to create the gr…
@pmcfadden, Yes, I'm afraid that post is quite old and does not apply anymore. The reason seems to be that the /etc/ssh/sshd_config already includes a line Subsystem sftp line: # override default of no subsystems Subsystem sftp /usr/lib/openssh/sftp-server You would need to comment this line out in order to make the configuration valid. # override default of no subsystems # Subsystem sftp /usr/lib/openssh/sftp-server Subsystem sftp internal-sftp In any case, I've tried to make thi…
With this tutorial:
Keywords: WordPress - AWS - How to - Connectivity (SSH/FTP) Description: Hi,
I have been following this tutorial to create a new user and give them access to my EC2:
It somewhat achieves what I want but not in its entirety.
What I would like to do is give a plugin developer access too the WordPress/htdocs directory only so they can fix an issue I have with a plugin.
With the above I have created the public an…
I've created the account using this:
And I could access to the account, but after following the tutorial the account still had access to all the server.
I wanted to set the account to access only the Wordpress directory.