As I was following many tutorials online for a possible solution, none has been successful.
What I have done so far:
access via FTP(filezilla)
locate the wp-content & plugin directory.
attempted to rename : error: permission denied
attempted tutorial “fixes”
Extra info: I am logging in as my sudo and not my originalroot.
I am now stuck again and if anyone can direct/assist me on this matter, it is greatly appreciated!
(cannot access my admin page for wordpress because of a plugin installed. So I am trying to deactivate that plugin via ftp…)
Thank you!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hi there @hk1
If you want to disable the
PasswordAuthentication
on the server and use your ssh-keys to login you can simply follow our existing tutorial here:https://www.digitalocean.com/community/tutorials/how-to-configure-ssh-key-based-authentication-on-a-linux-server#disabling-password-authentication-on-your-server
Once the ssh-key authentication is configured you can access the server via ssh just by connecting to the server using your ssh-client and not having to use
PasswordAuthenticaion
Hope that this helps! Regards, Alex
Hello, @hk1
I will recommend you to double check that the user is added to the sudoers group. As part of initial steps on the Ubuntu 20.04 server which you can check here:
https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-20-04#step-3-—-granting-administrative-privileges
As root, run this command to add your new user to the sudo group (substitute the highlighted username with your new user):
usermod -aG sudo sammy
Note : Change sammy with your actual username
Now, when logged in as your regular user, you can type sudo before commands to perform actions with superuser privileges or use with SFTP clients.
Regards, Alex
This comment has been deleted