Ssh use 7z with password and suppress password echo
If you want to use 7z with a password, over ssh, by default the password will be displayed! Suppress it with ssh -t. I don't know why. Here's the relevant section of the man page for ssh.
-t Force pseudo-terminal allocation. This can be used to execute arbitrary screen-based programs on a remote machine, which
can be very useful, e.g. when implementing menu services. Multiple -t options force tty allocation, even if ssh has no
local tty.
Comments