On 5/22/24 1:53 PM, Chris Adams wrote:
Once upon a time, Samuel Sieb <sam...@sieb.net> said:
I'm not confusing anything.  I checked it before posting.  :-)
 From strace:
execve("/bin/sh", ["sh", "-c", "ssh -a -x -s <ip address> sftp"]

I do not think that means what you think it means.  The -s option turns
it from running a remote command to requesting a remote subsystem
invocation (in this case, the "sftp" subsystem).  It does not actually
run the "sftp" command on the remote end.

Ok, I thought it might be a subsystem call, so I checked all the options in the man page before sending, but somehow missed the "-s"... So we were both half-right. It doesn't use the "sftp" command locally, but it does use the "sftp" subsystem 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