Hello,
thank you very much! With the "d" flag, the nc commands works very well!
Regards
Florian
On 09/11/2012 02:33 PM, James Carlson wrote:
Florian wrote:
/root@oi151a6-1:~# ssh -n -f 192.168.10.201 "/usr/bin/nc -l -p 1337 |
/usr/sbin/zfs receive -F tank/raid1-2"/
Try "nc -dl -p 1337" instead of just "-l". The problem is that the ssh
"-n" flag provides /dev/null on stdin, rather than a tty, and that
confuses netcat. The netcat "-d" option tells it to ignore stdin.
_______________________________________________
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss