Hey guys,
I want to create a script that will SSH into a particular Plesk account and then use WP CLI to export the WordPress database for the particular account, and then download the SQL file to my localhost, etc...
Now the issue is that I can't figure out how to establish an SSH connection for a particular plesk account. I went ahead and installed SSH Keys Manager module on Plesk, then I added my SSH key, but when i try to establish a connection with a certain plesk account accountxxx@IP, it seems to connect but then it says connection closed.
I want to create a script that will SSH into a particular Plesk account and then use WP CLI to export the WordPress database for the particular account, and then download the SQL file to my localhost, etc...
Now the issue is that I can't figure out how to establish an SSH connection for a particular plesk account. I went ahead and installed SSH Keys Manager module on Plesk, then I added my SSH key, but when i try to establish a connection with a certain plesk account accountxxx@IP, it seems to connect but then it says connection closed.