1

I have a simple use case, I want to pass a password phrase to a command that requires keyboard input:

sshuttle -r user@server_address 0.0.0.0/0

this command will prompt for user input of sudo password of my Mac,

but I want to pass the password to it, instead of entering it everytime, I have tried:

echo "password" | sshuttle -r user@server_address 0.0.0.0/0

but not work, it still prompt for the password

5

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.