New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Password required on remote mysqldymp #665
Comments
Hi! I have the same issue, but it happened not on all servers, I don't know what the difference is between servers. These servers look very similar. Any ideas? |
@alessandro-fazzi @maiorano84 for visibility ^ I found only one distinction between servers, it is a version of ubuntu (22.04 vs 20.04) Also, I tried to add ssh keys to a keychain and used different keys. Very strange why it is working on one the server but doesn't work on another one |
Hmmm.... never seen this one before. When connecting remotely, are you connecting as a manually created user? Or I do know that attempting to connect as |
@maiorano84 Thanks for your response. |
@themkvz Only other thing I can think of to try is to run the Using the original ticket's remote output as a template, the steps would look something like the following:
If the remote command can be run directly on the server but not over SSH, then we may need to look into adding some logging behaviors to make sure everything is being handled and escaped as expected. |
@maiorano84 Sorry for the late response and many blurs) I was able to create a dump.sql file without requiring any additional password after successfully connecting to the remote server and running the following command. |
We may want to flag this as a potential bug here for further investigation. This appears to be related to Ubuntu 22.04 and also possibly I'll see if I can find some time to replicate the issue. I haven't looked at the codebase in a long time, but we may need to employ further debugging and logging options. Not sure if this is environment-related, or some edge case that Wordmove hasn't accounted for yet. For reference purposes, can you provide a copy of your movefile (sensitive information redacted of course) along with a brief summary of your server environment (ie: OS, Version, Database Type, Database Version, etc.)? |
Hi there.
I stared experiencing strange behaviour on some of my websites.
To push the website to the server I am using SSH with key. All files and going through smoothly but when it comes to mysqldump is prompting for server password.
▬▬ Pushing Database ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
remote | mysqldump --host=[secret] --port=3306 --user=BD_USER --password=DB_PASSWORD --result-file="[secret]/wp-content/dump.sql" DB_NAME
server@SERVER IP's password:
Anyone has an idea what could cause it?
The text was updated successfully, but these errors were encountered: