Execute a command on a remote host. Note: Use
rexec
with caution, as it transmits data in plain text. Consider secure alternatives like SSH for encrypted communication. More information: https://www.gnu.org/software/inetutils/manual/html_node/rexec-invocation.html.
rexec -h=remote_host ls -l
rexec -username=username -h=remote_host ps aux
stdin
from /dev/null
on a remote [h]ost:rexec --no-err -h=remote_host ls -l
rexec -P=1234 -h=remote_host ls -l