Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ohithereyou
· 7y ago · 0 comments
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?
Comments
[–]
ebcode
7y ago
... because you don't control the server?