Monthly Archives: March 2021

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.

Custom logfile on Juniper

Recently I placed a switch for a project. And now I want to see how often the switch is used by wired users. Lets for argument sake asume interface bounce is not handled by the standard log files. Juniper provides … Continue reading

Posted in Commands, Juniper | Comments Off on Custom logfile on Juniper