Browse Community
Help
Log In
Responses(2)
Solutions(0)
barry_beckers
393 Posts
0
February 1st, 2023 01:00
"expect" is your friend. Many examples to be found like: https://www.digitalocean.com/community/tutorials/expect-script-ssh-example-tutorialAutoexpect might further help you to create the expect script:https://hostadvice.com/how-to/how-to-automate-tasks-in-ssh/
dynamox
9 Legend
•
20.4K Posts
February 1st, 2023 19:00
If you are scripting this process in Python, for example, you could use this command to send a "yes"
stdin.write('yes\n')stdin.flush()
Dell Support Resources
View All
Top
barry_beckers
393 Posts
0
February 1st, 2023 01:00
"expect" is your friend. Many examples to be found like: https://www.digitalocean.com/community/tutorials/expect-script-ssh-example-tutorial
Autoexpect might further help you to create the expect script:
https://hostadvice.com/how-to/how-to-automate-tasks-in-ssh/
dynamox
9 Legend
•
20.4K Posts
0
February 1st, 2023 19:00
If you are scripting this process in Python, for example, you could use this command to send a "yes"
stdin.write('yes\n')
stdin.flush()