linux - How to avoid extra shell when ssh -f? -
if do
ssh -f 10.10.47.47 "/opt/omni/bin/mbuffer -4 -v 0 -q -i 8024 | /usr/sbin/zfs receive tank/test" then have press ctrl-d exit shell have been spawned on linux host, ran ssh command.
if do
ssh -f 10.10.47.47 "sleep 10s" and seek ctrl-d linux host hangs until sleep command exits on remote host. weird behaviour, wouldn't expect since -f used.
question
is possible avoid shell on host ssh command executed?
linux bash networking ssh solaris
No comments:
Post a Comment