Scroll to navigation

datalad sshrun(1) General Commands Manual datalad sshrun(1)


datalad sshrun - run command on remote machines via SSH.


datalad sshrun [-h] [-p PORT] [-4] [-6] [-o OPTION] [-n] login cmd


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".

Configure DATALAD.SSH.IDENTITYFILE to pass a file to the ssh's -i option.


command for remote execution.

show this help message. --help-np forcefully disables the use of a pager for displaying the help message
port to connect to on the remote host.
use IPv4 addresses only.
use IPv6 addresses only.
configuration option passed to SSH.
Do not connect stdin to the process.


datalad is developed by The DataLad Team and Contributors <>.

2021-07-23 datalad sshrun 0.14.6