This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /usr/bin/expect -- | |
| ## | |
| ## patched to accomplish fortinet from nlogin | |
| ## in turn patched to accomplish D-Link from fnlogin | |
| ## by: Daniel G. Epstein <dan at rootlike.com> | |
| ## adapted by: Diego Ercolani <diego.ercolani at ssis.sm> | |
| ## further adapted by: Gavin McCullagh <gavin.mccullagh at gcd.ie> | |
| ## | |
| ## rancid 2.3.6 | |
| ## Copyright (c) 1997-2009 by Terrapin Communications, Inc. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| # All SSH libraries for Python are junk (2011-10-13). | |
| # Too low-level (libssh2), too buggy (paramiko), too complicated | |
| # (both), too poor in features (no use of the agent, for instance) | |
| # Here is the right solution today: | |
| import subprocess | |
| import sys |