Open ausil opened 1 year ago
Agree, encountered the same.
In the meantime, please update the ssh documentation:
Without -O
, current scp will give an error like
scp: Received message too long 1315925549
scp: Ensure the remote shell produces no output for non-interactive sessions.
The documentation should suggest usin g-O
in this case.
distros are dropping support for legacy scp and replacing it with an scp based on top of sftp. I currently have fedora 37 as my desktop OS and found I was unable to scp the authorized_keys file in place. I was able to have it work by adding -O, which uses the old scp protocols. supporting the sftp based path seems necessary