Interesting dilemma.
I'm wondering whether you're able to SSH to the router? If so, you could use a public/private key pair to do the authentication to the router, then download your configs across the SSH session. Of course, you probably shouldn't be running the script as root, but some other user with no password defined, and no shell.
|