Questions tagged [ssh]
The ssh tag has no usage guidance.
29
questions
0
votes
1
answer
24
views
Wordpress "wp cron event run" as Siteground cron job
Is there a syntax that will allow me to run "wp cron event run" as a Siteground cron job?
I found this example that runs through a third party application. I'm wondering if this command can ...
2
votes
0
answers
236
views
Using wp-cli on remote with quoted commands
I have my wp-cli.yml configured with a working ssh connection.
If I wp db query "CHECK TABLE $(wp db tables | paste -s -d, -);" and run locally it works just fine.
On the other hand, if I wp ...
0
votes
1
answer
320
views
AWS Lightsail Wordpress - connect to database on instance using mysqli
I have a wordpress website hosted on AWS Lightsail. On that website, I would like to use a shortcode to retrieve data from a database using mysqli. However, everytime the script that connects to the ...
-1
votes
2
answers
486
views
SSH git — How to pull a folder from repo, but not delete other directories & files on deployment server [closed]
I'm at a point in my git education where I've refined my .gitignore file such that when I push from my local development machine to a remote repository (which happens to be on Azure, but it could just ...
3
votes
1
answer
686
views
How can I use WP-CLI commands without --allow-root
I wanted to use WP-CLI commands in my putty WordPress 5.5.1 & Ubuntu 20.04 Droplet but “When I use Wp commands without –allow-root then It shows an error that you are accessing as the root user,” ...
1
vote
0
answers
58
views
WPTerm ssh connection not working [closed]
I'm running wordpress on a docker container. I've logged in via the admin console and installed the WPTerm plugin. When starting the WPTerm and using ssh with the following arguments
./ssh -o ...
0
votes
1
answer
32
views
Wordpress Redirects to a cancelled domain, need to change it but can't get to the admin portal
I am working with a WordPress site on AWS wherein the site was mapped to a specific domain. That domain has long since been sold and canceled, so I want to change the domain to something else to ...
0
votes
1
answer
100
views
How To Upload Existing WordPress Site To WordPress Multisite Using SSH
I have a WordPress site that needs to move into a WordPress Multisite. I tried to find the site file to upload in wp-content/uploads/sites but I couldn't locate the file. I also tried to upload the ...
1
vote
0
answers
63
views
Server configuration for WordPress - Do I need install PHP-SSH extensions for Wordpress on Fedora28?
Migrated from Stackoverflow & Unix & Linux:
Recently I tried to setup a Wordpress server on Fedora28 based droplet on Digital Ocean.
A followed some tutorials and the result was the same: ...
2
votes
2
answers
1k
views
How to disable XML-RPC from Linux command-line in a total way?
I read near the end of this guide regarding utilizing SSHguard to protect WordPress from Brute force attacks that after configuring SSHguard the relevant way, one must:
disable XML-RPC by blocking ...
2
votes
1
answer
814
views
WP-CLI alias: connect with ssh proxy
I have a wp-cli.yml file that defines an alias for a remote host:
@origin:
ssh: myserver.example.com
path: /path/to/htdocs
This would normally allow me to use wp @origin command to run remote ...
0
votes
2
answers
3k
views
Index.php using 100% CPU [closed]
I am using godaddy 32 gb(RAM), quad core(CPU) dedicated server.
My site is working properly till today somehow its take to long to load so i am monitoring server in SSH using top command and i had ...
1
vote
2
answers
11k
views
enable SFTP via SSH keys in wordpress
can anyone help me
define('FTP_PUBKEY','/home/use/.ssh/id_rsa');
define('FTP_PRIKEY','/home/user/.ssh/id_rsa');
define('FTP_USER','');
define('FTP_PASS','');
define('FTP_HOST','127.0.0.1:22');
...
0
votes
0
answers
67
views
Can I use WP-CLI from a remote computer?
Does WP-CLI need to be used and installed on my server which has WordPress installed, and as such, I would need to ssh into that server in order to use it?
-2
votes
2
answers
76
views
I can't login to wordpress dashboard without SSH
My friend gave me a username and a password to his wordpress site. Now when I try to login to the dashboard, it tells me I have the wrong username or password. He also gave me a SSH port number and a ...
1
vote
1
answer
5k
views
Unable to update WordPress or install plugins/themes
I can't update WordPress from the back-end or install themes or plugins. Each time I try, I got this type of error: Unable to locate WordPress Root directory..
I've installed my WordPress in a sub-...
-2
votes
1
answer
1k
views
Force Jetpack to use og:url with http on an https website
I moved my site from http to https, but I wish to preserve my facebook likes. From what I read, I should use the og:url metatag so that facebook will know how to fix the likes on that page. I tried ...
1
vote
1
answer
1k
views
After upgrade to php 7 plugin/them updates broke [closed]
I upgraded my Ubuntu server to php 7 and setup ssh2. Afterwards, my WordPress plugins/themes will not update. I am receiving the Unable to locate WordPress Content directory (wp-content). This ...
2
votes
1
answer
2k
views
Upgraded to php7.0, now ssh updates don't work [closed]
I updated my server from Ubuntu 15.10 to Ubuntu 16.04, and one of the things that updated was PHP. After the upgrade, doing plugin updates over ssh don't work any more.
At first it was prompting for ...
0
votes
1
answer
591
views
Public and Private keys incorrect for user
I am attempting to set up a WordPress installation on a DigitalOcean Ubuntu droplet, however after following the instructions on
https://www.digitalocean.com/community/tutorials/how-to-configure-...
2
votes
2
answers
10k
views
Failure to establish connection when provisioning via ansible-playbook server.yml
I'm using Root.io's Trellis workflow.
I've encountered an error wherein I couldn't establish a connection via ansible-playbook.
When I run ansible-playbook server.yml -e env=staging it throws me ...
0
votes
4
answers
322
views
SSH vs Wordpress
To modify files via SSH I need to have the files owned by ubuntu:www-data. But for wordpress to be able to install or update plugins I need to have the files owned by www-data:www-data. Any way around ...
4
votes
4
answers
2k
views
Public and Private Keys are Incorrect for user
For some time, I'm getting the error Public and Private keys incorrect for wp-user when I try to update a plug-in.
I've a CentOS 7 VPS setup with a LAMP stack. I've installed and configured my ...
0
votes
1
answer
211
views
SSH Server with Wordpress
I am connection my ftp with SSH protocol.
Wordpress ask for my ftp credentials. But even if i fill them correctly, it gives me an error saying wrong username/password.
my host is 93.94.254.231
and ...
13
votes
1
answer
1k
views
Why does WordPress need my private ssh key to update?
Configuring WordPress to update within the application (i.e. WordPress) is ideal for me because of its convenience. Nonetheless, I'm troubled by the requirements. The requested fields that show up ...
0
votes
1
answer
204
views
Configuring WordPress permissions for easy updates
I've been tasked with configuring a LAMP stack on a dedicated server to run multiple WordPress sites. Each site is attached to it's own SSH account.
I'm having trouble setting permissions that'll ...
2
votes
2
answers
5k
views
Configure Wordpress to connect to Mysql DB using SSH tunneling
Problem: Configure wordpress to use a remote mysql database only available using and SSH tunneling.
Stage:
I have a wordpress instance over an apache server on machine (called WP_server). WP_server, ...
0
votes
1
answer
2k
views
How to set intervals in cron jobs?
I am having a unmanaged VPS, where my wordpress site is hosted, I am also using WP-ROBOT 3 plugin for auto posting, I want it to do auto post through cron jobs,
According to the documentation of the ...
3
votes
2
answers
984
views
How to configure WP filesystem access in Linux (Ubuntu Server)?
Ubuntu Server, LAMP stack, freshly self-installed WordPress.
Apparently I can't use direct filesystem access method because files are owned by different owners (WP core unpacked by me and files WP ...