datalad-sshrun(1)

datalad-sshrun1

Run command on remote machines via ssh.

Usage

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

Overview

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.

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.

-4

use IPv4 addresses only.

-6

use IPv6 addresses only.

-o OPTION

configuration option passed to SSH.

-n

Do not connect stdin to the process.

--version

show the module and its version which provides the command

Releases

4 releases since Debian 10 (Buster); the text changed 3 times.

  1. 10
  2. 11
  3. 12
  4. 13

--version since Debian 12 (Bookworm); -4 since Debian 11 (Bullseye); -6 since Debian 11 (Bullseye); -o since Debian 11 (Bullseye).

Authors

datalad is developed by The DataLad Team and Contributors <[email protected]>.

From datalad 1.1.5-2.1 in Debian 13 (Trixie). Parsed by carta from the page's man source.