datalad sshrun¶
Synopsis¶
datalad sshrun [-h] [-p PORT] [-n] login cmd
Description¶
Run command on remote machines via SSH.
This is a replacement for a small part of the functionality of SSH. In addition to SSH alone, this command can make use of datalad’s SSH connection management. Its primary use case is to be used with Git as ‘core.sshCommand’ or via “GIT_SSH_COMMAND”.
Options¶
login¶
[user@]hostname.
cmd¶
command for remote execution.
-h, –help, –help-np¶
show this help message. –help-np forcefully disables the use of a pager for displaying the help message
-p PORT, –port PORT¶
port to connect to on the remote host. [Default: None]
-n¶
Redirect stdin from /dev/null. [Default: False]
Authors¶
datalad is developed by The DataLad Team and Contributors <team@datalad.org>.