Bash/Expect Script for SSH
问题 I am new to expect and scripting in general. I am trying to make a few scripts to make my life a bit easier when pulling network device configurations. I managed to create a basic expect script to SSH to a device and save the configuration. I want to expand upon this and allow the script to connect to a number of IP addresses instead of just one like I have right now. I have a file named list.txt with a few different IP addresses with each IP on a separate line. What would I need to do to