SSH connection to a cisco switch in a script

"Hofmann, Berthold" <[email protected]> Thu, 27 Nov 2008 15:49:36 +0100
Newsgroups gmane.network.ssh.windows
Message-ID <2F0192DBB842184288B69C36444F2E5110DBFAC21A@DEFTHW99E15MSX.ww902.siemens.net>
Hello,

have a script which connects every night with telnet to all cisco switches,=
 and stores
the config. I want change this script to use ssh instead of telnet, but how=
 can I
give the password for ssh in the script, because I don't know, how can I ca=
n create a
authorized_keys file on the switch. I know it is not a very good idea to sa=
ve a password
in a file, but I need a solution for this problem. I would like to do the s=
cript without
another software if possible.

Best Regards

Berthold

--
List Info:      http://erdelynet.com/ssh-l/
List Archives:  http://erdelynet.com/archive/ssh-l/
To Unsubscribe: Mail mailto:[email protected]
If you are having trouble unsubscribing, visit the List Info page for help.