Added hashbang

Added hashbang
Set timeout

Set timeout to avoid the Telnet connection to hang forever if not
successful
Increase command timeouts

Routers aren't as snappy as originally thought
Remove new lines in conf names

We don't want files named "Router1\n"
More informing errors

And increased timeouts
Make files into txt

Because boss said so
Work around TACACS

Because apparently you can get a privileged EXEC shell and still not be
allowed to get the config
Add keyboard interrupt quit

Add keyboard interrupt quit otherwise Crtl+C goes to the next iteration
of loop
Move creation of files

Create an output file only if we get access to the router, otherwise we
spam the output filder with empty files