Is it really safe to pass sensitive data to another script via stdin, compared to passing via arguments (Linux)

Yes, the transfer to the script via arguments is visible through ps -ax, /proc/<pid>/cmdline etc., BUT if someone has already gained access to your account from the outside (e.g. by hacking your browser) he will have no trouble looki… Continue reading Is it really safe to pass sensitive data to another script via stdin, compared to passing via arguments (Linux)

Random chinese characters on attempt to copy clipboard from X forwarded ssh session [migrated]

I use X forwarding with a debian server running openssh so that I can directly copy over error messages I see in tmux to my local machine.
Twice it happened that instead of getting the intended text on my clipboard, I got some gibberish ch… Continue reading Random chinese characters on attempt to copy clipboard from X forwarded ssh session [migrated]