Input password for SSH command #181
Answered
by
Tyrrrz
csgithub2021
asked this question in
Q&A
-
Hi, I'd like to use CliWrap to make SSH connection but I could not find out how to input password after command executed. I immediate get permission denied. Code Ive tried so far:
What should I do to input required password when make SSH connection? I do appreciate any help. |
Beta Was this translation helpful? Give feedback.
Answered by
Tyrrrz
Nov 30, 2022
Replies: 1 comment 1 reply
-
It looks like it's impossible to do directly: https://stackoverflow.com/a/24465355 Maybe you can somehow fool it by wrapping |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
csgithub2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It looks like it's impossible to do directly: https://stackoverflow.com/a/24465355
Maybe you can somehow fool it by wrapping
Cli.Wrap("/bin/sh")
and running it from there?