LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

rexec

Execute commands on remote hosts

TLDR

Execute a command on a remote host
$ rexec -h remote_host ls -l
copy
Specify the remote username
$ rexec -u username -h remote_host ps aux
copy
Suppress error stream creation
$ rexec -n -h remote_host ls -l
copy
Specify the remote port
$ rexec -P 1234 -h remote_host ls -l
copy

SYNOPSIS

rexec [options] command

DESCRIPTION

rexec executes commands on a remote host using the rexec protocol (TCP port 512). It authenticates with a username and password, then runs the specified command on the remote system.Note: rexec transmits credentials and data in plain text and is insecure. Use SSH for encrypted remote command execution.

PARAMETERS

-h, --host host

Specify remote host
-u, --username user
Specify remote username
-P, --port port
Specify remote port
-n, --noerr
Do not create a separate error stream
-d, --password password
Specify password (use '-' to read from stdin)

CAVEATS

Transmits credentials and data unencrypted. Not recommended for use over untrusted networks. Consider SSH as a secure alternative.

HISTORY

Part of GNU inetutils, providing classic Unix networking utilities. Largely superseded by SSH for security reasons.

SEE ALSO

ssh(1), rsh(1), rlogin(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid