Re:Don Libes' Expect: A Surprisingly Underappreciated Unix A...
by ohithereyou on Sunday November 24, 2019 @08:09AM
(#21620191)
Inputting an SSH password using an expect script seems like an anti-pattern to me. In general, why can't you use a password-less key on the client and restrict what commands it can execute in the authorized_keys file on the server?
[ Parent
| on HN ]