Morgan, Iain (ARC-TN)[InuTeq, LLC] wrote: > On Sun, 2 Feb 2025, Jochen Bern wrote: > > > On 01.02.25 22:30, Christoph Groth wrote: > > > An --interactive option that behaves just like the one in cp would > > > solve the issue for me. I would happily alias scp to > > > scp --interactive. Is there any technical or other reason why scp > > > does not have such an option or something similar? > > > > Seeing that (the PUT command in) sftp doesn't have such an option, > > either, I suspect that it might indeed be a protocol issue. > > It's not a protocol issue, someone just needs to write the code. That’s good to know. > -d > > Except that -i is already being used by scp to specify the identity. I had noticed that, and it’s unfortunate. So it would have to be a different letter. One possibility would be -a (for “ask”), but cp and rsync already use this for the common “archive” option. Another possibility would be -n (for “no overwrite”), but that would be confusing since cp uses this for --no-clobber (silently do not overwrite). Did you write “-d” as a suggestion? Christoph
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev