Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: scp/sftp -R broken? (Thomas Klausner) writes:


>When I try to recursively copy a directory with "scp -r" or sftp's
>"put -Rp" between a -current and a NetBSD 9, I see:

># scp -r a netbsd-9:
>scp: realpath ./a: No such file
>scp: upload "./a": path canonicalization failed
>scp: failed to upload directory a to .

That was a known issue with sftp when the target directory (in this
case that's netbsd-9:./a) does not exist and the OpenSSH 9 server
apparently has fixed it.

I doubt that anyone fixes OpenSSH 8, so using -O for the scp
protocol fallback is the only thing you can do.

Home | Main Index | Thread Index | Old Index