Unable to update WordPress or install plugins/themes

I’ve seen this happen when WP doesn’t like the file owner. Can you change it to www-data and check file permissions? https://codex.wordpress.org/Changing_File_Permissions Or it could be that WordPress is getting confused by your /content folder, which is normally /wp-content. Have you defined WP_CONTENT_URL in wp-config.php? http://www.hongkiat.com/blog/renaming-wordpress-wp-content-folder/

enable SFTP via SSH keys in wordpress

For connection through ssh, you have to specify the ssh user using FTP_USER define( ‘FS_METHOD’, ‘ssh’ ); define( ‘FTP_BASE’, ‘/home/user/wordpress’ ); define( ‘FTP_PUBKEY’, ‘/home/user/.ssh/id_rsa.pub’ ); define( ‘FTP_PRIKEY’, ‘/home/user/.ssh/id_rsa’ ); define( ‘FTP_USER’, ‘user’ ); define( ‘FTP_HOST’, ‘localhost:22’ ); I think you also need to define FTP_BASE. You also need to enable ssh upgrade access. From the … Read more

Upgraded to php7.0, now ssh updates don’t work [closed]

I was having a similar problem with getting ssh to work after the php 7.0 upgrade. I went through the steps of this tutorial and got it working. I also had to chmod 775 the wp-content directory. However, the wp-content/plugins direcotry at chmod 755 works.

WP-CLI alias: connect with ssh proxy

I created simillar configuration to yours and proxy is working for me. My config looks like: Host production HostName xxx.xxx.xxx.xxx ProxyCommand ssh -q -W %h:22 vagrant ForwardAgent yes Host vagrant HostName 127.0.0.1 User vagrant Port 2222 UserKnownHostsFile /dev/null StrictHostKeyChecking no PasswordAuthentication no IdentityFile /path/to/.vagrant/machines/default/virtualbox/private_key IdentitiesOnly yes ForwardAgent yes LogLevel FATAL I’m treating my vagrant local … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)