I am writing script, that would ssh to switch and dump configuration in file.
1) Since it is switch, i have no way to make use of public key authentication, because I have no way to store pubkey on switch. 2) Since I'm using dedicated box for backups, I don't need to hide password from ps. What is the cleanest way to pass password to ssh?