On 5/22/24 9:57 AM, Jonathan Billings wrote:
On May 21, 2024, at 05:01, Frederic Muller <f...@cm17.com> wrote:

I thought someone here could help me out. I am using lftp to automate some file copy on Ubuntu 20.04. The originating server is switching to SFTP and I have about a week for testing. It works fine by default with F40.

You didn't explain what isn't working. What is happening? What is in the logs?

On ubuntu it seems by default lftp is not compiled with sftp support as I didn't get any trace of *libssl*.so using ldd.

It doesn't link directly, so you won't see that.

I then removed it, compiled a new version with sftp support, checked with ldd for libssl.so and got it but it is still not working. Any idea what could be the problem then, or how to further troubleshoot?

That's strange, the Fedora one doesn't even show that. Which file did you look at? You can look in /usr/lib64/lftp/{version} to see what protocols are supported. At least that's the directory on Fedora. A manual compile might use /usr/local or something else.

By “SFTP” do you mean FTP over SSL/TLS, or the OpenSSH “sftp” backend which runs over the SSH protocol? Two completely different protocols.

I suspect that lftp just calls out to the OpenSSH sftp binary if it uses SSH.

Sort of.  It calls "ssh" to run "sftp" on the other end.
--
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to