I am trying to encrypt a file on-the-fly, redirecting the output to a named pipe [fifo]. I SSH into my server and run the command:
$ mcrypt -k key < file > named_pipe
then from my laptop I try to scp it:
$ scp me@server:~/dir/named_pipe
and it says
scp: /users/home/me/dir/named_pipe: not a regular file
Is there any way to do this? Thanks
Best Answer
Stream from it instead.