Category Archives: TCL/Expect

Multiple patterns with expect. Handling a SSH login dialog.

When automating network tasks, you a can hit a node which you have not logged on earlier. Using SSH you will end up in a dialog where the ssh client wants to add ssh-key to the known key list. You … Continue reading

Posted in TCL/Expect | Comments Off on Multiple patterns with expect. Handling a SSH login dialog.