logoalt Hacker News

jolmgyesterday at 11:24 PM1 replyview on HN

> -PuTTY pscp allows raw passwords on the command line, or from a file. OpenSSH is unreasonable in refusing to do this.

You can use `sshpass` to force it through a command line argument. However, arguments can be viewed by any process through `/proc`, `ps`, etc. It's pretty reasonable to not support exposure of the password like that, especially since you can force it through using another tool if you really, really need to.


Replies

chasiltoday at 1:06 AM

Both pscp and psftp have -pwfile.

It is not reasonable to insist on keys for batch use.

Not at all.

show 1 reply