Hi Gary! :)
On Mon, Jul 24, 2000 at 10:58:22AM -0400, Gary Strahan wrote:
>
> Hello all,
>
> I have been using ssh-2.2.0 to do system backups, but am running into
> problemswith multiple tape archives. The problem is that it does not
> prompt me to change tapes. Can anyone recommend a way around this?
>
> Here is the command I am presently using:
>
> tar -cvf - stuff | \
> su someusr -c '/usr/local/bin/ssh foo.bar.edu "(dd
> of=/dev/rmt/tps0d6nrv)"'
>
> As I implied, this command works perfectly fine, it just doesn't prompt at
> the end of the tape.
>
> A few notes:
> - I have tried setting the blocksize, but something about tar on these
> SGIs prevents it from working properly.
> - I do know about the "-l" option in ssh, but for some reason it
> doesn't behave properly here, but using "su" works fine.
For scp, you need to do the following syntax if you want to change usernames:
scp localfile user@remotehost:/dir/remotefile
or
scp user@remotehost:/dir/remotefile localfile
-Anne
-------------------------------------------------------------------------
Anne Carasik | Economists state their GNP growth
Principal Consultant | projections to the nearest tenth of
SSH Communications Security, Inc. | a percentage point to prove they have
Email: [EMAIL PROTECTED] | a sense of humor. -Edgar R. Fiedler
-------------------------------------------------------------------------
Unless stated otherwise above, the opinions expressed herein are my own,
not of my employer.