Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: scp to pipe |
|---|---|
| Date: | Thu, 16 Sep 2004 18:50:21 +0300 (EEST) |
Hello,
scp <user>@host:<file> /dev/sdtout | <command> It throws the warning "/dev/stdout: truncate: Invalid argument" unless you use scp <user>@host:<file> /dev/sdtout 2>/dev/null | <command> But you dont get anything else from stderr either. Hope it helps.
I don't get a truncate error message. However, one problem I can see with this is that you would be mixing the standard output from scp (which at least in ssh.com ssh2 v3.2.3 means the statistics) with the contents of the file being copied. -- Atro Tossavainen (Mr.) / The Institute of Biotechnology at Systems Analyst, Techno-Amish & / the University of Helsinki, Finland, +358-9-19158939 UNIX Dinosaur / employs me, but my opinions are my own. < URL : http : / / www . helsinki . fi / %7E atossava / > NO FILE ATTACHMENTS
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: scp to pipe, konsar |
|---|---|
| Next by Date: | SSH hangs ..., Dmitry Golovaty |
| Previous by Thread: | Re: scp to pipe, David Hutchins |
| Next by Thread: | Re: scp to pipe, konsar |
| Indexes: | [Date] [Thread] [Top] [All Lists] |