Possibility of scp --interactive option

Christoph Anton Mitterer calestyo at scientia.org
Thu Feb 6 03:24:51 AEDT 2025


Hey.

Wouldn't it make sense to have this as a ssh_config configuration
option (which could then also be set via -o if really needed)?

At least in my experience, cp/mv/rm’s -i is often either set via an
alias or not set/used at all - but not that one would often decide on
the command line whether one wants it interactive this time or not.


Also, if that feature (--interactive) is implemented (and I'd strongly
hope s), one should also add:
- something corresponding to cp/mv/rm’s -f, to overwrite a previously
  set --interactive (e.g. in case scp/sftp) is used from scripts)
- decide whether behaviour should differ depending on whether stdin is
  a terminal or not
- and it would be nice to have counterparts of cp’s --no-clobber and/or
   --update[={all,none,none-fail,older}]


Cheers,
Chris.


More information about the openssh-unix-dev mailing list