On Mon, 11 Oct 1999, Phil Hurvitz wrote:
> I'm wanting to do something like this:
>
> ufsdump ufb - 256 /dev/rdsk/c0t0d0s0 | ssh tape_host dd of=/dev/rmt/0cbn
>
> I think I can use ssh-agent2 and ssh-add2 to make it so that I do not need
> to provide the passphrase, but exactly how to go about this is not clear.
I figured this out minutes after posting:
First, start the ssh-agent:
ssh-agent2 csh
Next, give the passphrase
ssh-add2
The system asks for a response:
Adding identity: //.ssh2/id_dsa_1024_a.pub
Need passphrase for //.ssh2/id_dsa_1024_a (1024-bit dsa, foo@bar,
Thu Jul 15 1999 22:36:16).
I give it the passphrase, and then I do not need to provide the passphrase
later. Instead of using ssh in the pipe, I use my good old
ufsdump 0ufb server:/dev/rmt/0cbn 256 /dev/rdsk/c0t0d0s0
-P.
******************************************************************************
Phil Hurvitz, MFR | GIS Specialist | College of Forest Resources | 355 Bloedel
Box 352100 | University of Washington, Seattle, Washington 98195-2100, USA
tel: 206.685.8179 | FAX: 206.685.3091 | e-mail: [EMAIL PROTECTED]
WWW: http://staff.washington.edu/phurvitz/
******************************************************************************