From: Steve Devine (sdevine@msu.edu)
Date: Fri May 24 2002 - 13:57:31 EDT
All
Thanks for all the suggestions. It still doesnt work.
I put some samples below.
I ran these from the command line in a sh shell.
I have these two machine doing hostbased auth. (no password required)
First try
/usr/local/bin/scp file.tar user@server:/tmp 2>&1 1>/tmp/output
empty /tmp/output
Second try
/usr/local/bin/scp file.tar user@server:/tmp2 >&1 >/tmp/output
scp: warning: File tmp is a directory, and recursion is not enabled.
Third try
/usr/local/bin/scp file.tar user@server:/tmp 2 > & 1 /tmp/output
Gives an empty /tmp/output
Forth Try
/usr/local/bin/scp file.tar user@server:/tmp > /tmp/output
Gives an empty /tmp/output
This is the data I want to capture .. this is what you get when you do a regular scp from the command line.
/usr/local/bin/scp file.tar user@server:/tmp
| file.tar 1.8MB | 1880.0 kB/s | TOC: 00:00:01 | 100%
Thanks to all
/sd
-- Steve Devine Core Systems Michigan State University _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:22 EDT