Re:Don Libes' Expect: A Surprisingly Underappreciated Unix A...
by benibela on Saturday November 23, 2019 @06:08PM
(#21617244)
I have used it to pass passwords to ssh
[ Parent
| on HN ]
Re:Don Libes' Expect: A Surprisingly Underappreciated Unix A...
by theamk on Saturday November 23, 2019 @09:47PM
(#21618018)
I recommend using Python's "paramiko" library for this -- it has this very neat feature to allow multiple commands. You can upload the script, then run it all in one connection.