-
Notifications
You must be signed in to change notification settings - Fork 165
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
Security policy: scp is disabled, use sftp instead. #618
Comments
IDK what PCI compliance is, but I'd like to remove But, FYI, the fact happens into another gem: https://github.com/welaika/photocopier/blob/625dac7c06f0893b2d3e343b84c216429f0cab35/lib/photocopier/ssh.rb#L17. |
Thanks for the exhaustive report 🙏 |
Hi, is there any progress on this? Using SFTP feels really slow compared to via rsync, and my host has some issues with MySQL privileges that make the db sync via SFTP kind of tricky too. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Describe the bug
I am having an issue when trying to pull a site from the production server. I get the following error:
/var/lib/gems/2.7.0/gems/net-scp-3.0.0/lib/net/scp/download.rb:118:in `parse_directive': unknown directive: "Security policy: scp is disabled, use sftp instead.\\n" (ArgumentError)
I've spoke to my host about this, and I've been informed that scp is disabled due to pci compliance. I think the solution is to use SFTP instead, but I'm unsure why this would be the case, and if this is indeed correct.
Wordmove command
Command used on the CLI:
wordmove -e production pull -d
orwordmove -e production pull --all
Expected behavior
The database/files to pull successfully.
movefile.yml
the only non-standard thing I am doing in my move file is
rsync_options: "--chmod=Du=rwx,Dgo=rx,Fu=rw,Fgo=r"
to preserve the file permissions when pushing back to the server.Exception/trace
Paste (removing personal data) the entire trace of error/exception you encountered, if any.
Environment (please complete the following information):
ruby --version
):ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x86_64-linux-gnu]
wordmove --version
):5.2.1
Doctor
wordmove doctor
is all green: Yes, all green.The text was updated successfully, but these errors were encountered: