[OpenIndiana-discuss] Problems with netcat zfs receive

Flo florian at acw.at
Thu Sep 13 08:56:01 UTC 2012


thank you very much! With the "d" flag, the nc commands works very well!


On 09/11/2012 02:33 PM, James Carlson wrote:
> Florian wrote:
>> /root at oi151a6-1:~# ssh -n -f "/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.

More information about the OpenIndiana-discuss mailing list