EXPECT - Show-IP-ROUTE Cisco.expect.sh: Revision history

From Wiki.IT-Arts.net

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

23 September 2025

  • curprev 06:2006:20, 23 September 2025Admin talk contribs 712 bytes +712 Created page with "Category:Post-It <nowiki> #!/usr/bin/expect -f # # # SET THE OUTPUT TO NON-BUFFERED MODE FOR "PUTS" COMMAND fconfigure stdout -buffering none set timeout 10 set HOST [lindex $argv 0] set IPADDRESSTOCHECK [lindex $argv 1] set USERNAME [lindex $argv 2] set PASSWORD [lindex $argv 3] # SSH CONNEXION spawn ssh $USERNAME@$HOST # spawn ssh -oStrictHostKeyChecking=no -oKexAlgorithms=+diffie-hellman-group1-sha1 -oHostKeyAlgorithms=+ssh-dss -oStrictHostKeyChecking=no..."