[ssh_x509] sftp client copy command that uses server-side copying of files...

ssh_x509 at roumenpetrov.info ssh_x509 at roumenpetrov.info
Fri Apr 8 21:40:52 EEST 2022


Hello,

OpenBSD announce new unexpected release. One new functionality is sftp client copy command that uses new server-side sftp extension.
For protocol it was adapted to PKIX-SSH - https://gitlab.com/secsh/pkixssh/-/tree/sftp_cpdata.


Functionality uses "copy-data" extension, see https://tools.ietf.org/html/draft-ietf-secsh-filexfer-extensions-00#section-7 .
I have no idea why is not used "copy-file" described in previous paragraph of same document, see https://datatracker.ietf.org/doc/html/draft-ietf-secsh-filexfer-extensions-00#section-6 .

Expect some implementation quirks there is one incompatibility with requirements related to data overlapping.
Third point is truncate of target. As result on sftp prompt command cp file file truncates source!


In conclusion I cannot found any reason to add this functionality to PKIX-SSH.


Regards,
Roumen Petrov




More information about the ssh_x509 mailing list