Examples for redirecting the stdout of a remotely executed process and input to a locally executed one from the command line.
if the copSSH user's /etc/passed specifies:
bash:
ssh name@host cat filename | more
cmd:
ssh name@host cmd /c type c:\\filename | more
*note the need to escape backslashes with cmd.exe
Hope this is useful to someone...
The second example should have doubled the backslash in c:\\filename
The second example should have doubled the backslash in c:\\filename