Basically what I need to know is how to capture the status code of spawn ssh so I know if there was a problem and can translate those to human readable errors. Then act accordingly
Example expect script post, that has missing code.
The concept is exactly what ive been trying to accoplish, but there are parts missing to the cause/and if statement checks. Could anyone tell me how to do those checks in expect? I want to know what happened in the code when a spawn ssh fails...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.