FS#74649 - [openssh] ash: /usr/libexec/sftp-server: not found

Attached to Project: Arch Linux
Opened by Jason (jasonbourne) - Thursday, 05 May 2022, 07:13 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 05 May 2022, 09:10 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: openssh
ash: /usr/libexec/sftp-server: not found

This only appears on version openssh 9.0p1-1
Everything is still good on version openssh-8.9p1-1
Downgrading to openssh-8.9p1-1 fixes it.


This task depends upon

Closed by  Antonio Rojas (arojas)
Thursday, 05 May 2022, 09:10 GMT
Reason for closing:  Not a bug
Comment by Antonio Rojas (arojas) - Thursday, 05 May 2022, 07:29 GMT
Please elaborate. What is 'ash' and where does it come from?
Comment by Jason (jasonbourne) - Thursday, 05 May 2022, 07:57 GMT
scp files.tar.gz root@localhost:/opt

Everything appears when I use SCP
Comment by Antonio Rojas (arojas) - Thursday, 05 May 2022, 08:24 GMT
No idea what you're talking about. Please describe *in detail* what your problem is.
Comment by Jason (jasonbourne) - Thursday, 05 May 2022, 08:49 GMT
Please see pictures
This error occurs on version 9.0p1-1
Comment by Jonas Witschel (diabonas) - Thursday, 05 May 2022, 08:55 GMT
This is expected if the SSH server you are connecting to is very old and does not support SFTP. In this case you need to use "scp -O" to use the legacy SCP protocol: https://www.openssh.com/releasenotes.html
Comment by Jason (jasonbourne) - Thursday, 05 May 2022, 09:05 GMT
I tried looking for a solution but couldn't find it
Now I know how to fix it
Hope others will know how to use "scp -O"
Thanks

Loading...