I'd like to send a command from a protocol to retrieve data from a Linux server via SSH.
However that command needs sudo elevated privileges. The response I retrieve is just the text that is asking for a username/pwd.
How can I do this from a protocol, please?
Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 11th July 2023
Hi Jochen
Expect is a well known tool in the Linux world to automate password prompt scenarios. I see that they also support Windows, may be you can consider integrating that in the driver development.
Thanks.
Srikanth Mandava [SLC] [DevOps Advocate] Answered question 15th December 2022