Sample Header Ad - 728x90

Using Here-Document as password Input for ssh

2 votes
1 answer
220 views
First, I do know this is a security risk. I do know about ssh keys and sshpass. This belongs to a **fun** project. I wondered if a bash Here-Document could be used as a password input for ssh. I unseccessfully tried something like ssh localhost <
Asked by Simon Huenecke (29 rep)
Apr 22, 2025, 10:25 AM
Last activity: Apr 22, 2025, 12:01 PM