I'm looking for how to send a router command (like copy running working, or upgrade IOS) but without typing any login or password. The idea is to perform automaticaly by a shell script action like get the config file every week or upgrade an IOS every month automaticaly.
I guess I should use authentification keys. I tried by this way but without any success.
The version of my routers are 2600, 7200VXR and 3750.
Thank you for helping me if any ideas!
Your best bet for automation is a scripting language such as Expect (http://expect.nist.gov/), because SSH public key authentication is not supported in IOS: