pscp might be what you want https://the.earth.li/~sgtatham/putty/0.73/htmldoc/Chapter5.h...
Re:SCP – Familiar, Simple, Insecure, and Slow
by comex on Saturday June 20, 2020 @03:24PM
(#23586292)
Interesting. That does seem to match the description, so thanks for mentioning it. On the other hand, PuTTY doesn't seem to support loading OpenSSH's configuration, only its own format – so my private keys, host aliases in ~/.ssh/config, and known_hosts would have to be duplicated. And they would quickly get out of sync unless I switched to PuTTY for all SSH use.
Seems like a lot of effort when, In Theory, this would be a pretty straightforward wrapper to build on top of libssh, which can load OpenSSH's configuration files, or perhaps on top of OpenSSH's ssh/sftp binaries directly. But I'm too lazy to write one myself, so I was hoping someone already had :)
Re:SCP – Familiar, Simple, Insecure, and Slow
by Hello71 on Friday June 19, 2020 @11:01PM
(#23581187)
openssh sftp does half of this. you can get a file with one or two args (sftp remote:file [localfile]), but to put a file you need to echo put; sftp localfile remote:file gives "cannot connect to localfile".
The proprietary ssh.com implementation of SSH apparently has one called "scp2", but I don't see any open source version.
Well, except for this, but it's tagged "[MAINTAINER WANTED]" and written in JavaScript:
https://github.com/spmjs/node-scp2