Re: pass pasword to ssh

2008-06-19 Thread Tim Donahue
Quoting Richard Storm <[EMAIL PROTECTED]>: I am writing script, that would ssh to switch and dump configuration in file. FYI, there may be a more effective way than writing your own script. Check out RANCID. It will manage just about any device from just about any vendor and manage the c

Re: pass pasword to ssh

2008-06-19 Thread Pete Vickers
perhaps you could write your script in perl ? http://www.openbsd.org/4.3_packages/i386/p5-Net-SSH-Perl-1.30.tgz-long.html /Pete On 19 Jun 2008, at 16:31, Stuart Henderson wrote: On 2008-06-19, Richard Storm <[EMAIL PROTECTED]> wrote: I am writing script, that would ssh to switch and dump c

Re: pass pasword to ssh

2008-06-19 Thread Michiel van Baak
On 16:14, Thu 19 Jun 08, Richard Storm wrote: > 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

Re: pass pasword to ssh

2008-06-19 Thread Stuart Henderson
On 2008-06-19, Richard Storm <[EMAIL PROTECTED]> wrote: > 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. Which switch? On my HP switc

pass pasword to ssh

2008-06-19 Thread Richard Storm
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