Re: SSH Command Formating w/Output pipe
From: Ansgar -59cobalt- Wiechers (usenet-2005_at_planetcobalt.net)
Date: 11/17/05
- Next message: pedagani_at_gmail.com: "FTP works but SSH does not"
- Previous message: Ansgar -59cobalt- Wiechers: "Re: Putty Mac 10.4.3 Build?"
- In reply to: Doug Luurs: "SSH Command Formating w/Output pipe"
- Next in thread: Doug Luurs: "Re: SSH Command Formating w/Output pipe"
- Reply: Doug Luurs: "Re: SSH Command Formating w/Output pipe"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 17 Nov 2005 17:34:23 GMT
Doug Luurs wrote:
> ssh cpu1@xxx.xxx.xxx.xxx "ls -l /tmp/isthefilethere.txt" > /tmp/output
> (On CPU2)
>
> This works, but the command doesn't get piped in the /tmp/output.
>
> Am I missing something along the way, or did I forget a '-something' ?
AFAICS the command should work as expected. Do you get the correct
output on STDOUT when omitting the redirection (a pipe is something
completely different)? Anything in the logs, maybe?
cu
59cobalt
-- "Another option [for defragmentation] is to back up your important files, erase the hard disk, then reinstall Mac OS X and your backed up files." --http://docs.info.apple.com/article.html?artnum=25668
- Next message: pedagani_at_gmail.com: "FTP works but SSH does not"
- Previous message: Ansgar -59cobalt- Wiechers: "Re: Putty Mac 10.4.3 Build?"
- In reply to: Doug Luurs: "SSH Command Formating w/Output pipe"
- Next in thread: Doug Luurs: "Re: SSH Command Formating w/Output pipe"
- Reply: Doug Luurs: "Re: SSH Command Formating w/Output pipe"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|