Re: Possibility of scp --interactive option

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

 



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.

However, one question, in case the protocol *does* allow for such an option: What do you propose should happen when an "scp --interactive" runs into one of the cases where scp has to fall back from the SFTP protocol to ye olde scp/rcp mechanisms? Ignore the option (and silently overwrite files), bug out with a fatal "not supported by server", ... ?

Kind regards,
--
Jochen Bern
Systemingenieur

Binect GmbH

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

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

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux