DATALAD-SSHRUN(1)

πŸ¦‹ datalad sshrun β€” the manual page, but make it a group chat πŸ¦‹

okay so this is datalad sshrun(1), from the General Commands Manual bestie, and it's literally the cutest little SSH wrapper you ever met. sit down, grab a boba, let's get into it πŸ’…


✨ NAME ✨

datalad sshrun β€” run a command on remote machines via SSH. that's it, that's the vibe 🫢


✨ SYNOPSIS ✨

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

like, you give it a login and a cmd and it goes brrr ✨


🌸 DESCRIPTION 🌸

so this is a replacement for a small part of SSH's functionality. not the whole thing, just a lil slice, okay? don't @ me 😭

but here's the slay part: on top of just doing SSH alone, this command can also make use of datalad's SSH connection management β€” like it's got connections, it's got lore, it's got iykyk energy πŸ”₯

its primary use case? being used with Git as core.sshCommand, or via "GIT_SSH_COMMAND". yes, exactly like that, in quotes, character for character πŸŽ€

and psa bestie β€” configure datalad.ssh.identityfile to pass a file to the ssh's -i option. that's the move πŸ‘‘


πŸ’– OPTIONS πŸ’–

  • login β€” [user@]hostname. the who-and-where you're connecting to πŸ¦‹
  • cmd β€” the command for remote execution. the what-you're-doing-once-you-get-there ⭐
  • -h, --help, --help-np β€” show this help message. and --help-np forcefully disables the use of a pager for displaying the help message. forcefully. no pager. it said what it said πŸ’€
  • -p PORT, --port PORT β€” port to connect to on the remote host. yes babes, you can pick your port 🌈
  • -4 β€” use IPv4 addresses only. only. exclusively. periodt πŸ’…
  • -6 β€” use IPv6 addresses only. the sequel, the glow-up, the icon πŸ‘‘
  • -o OPTION β€” configuration option passed to SSH. forward it straight through, no notes πŸŽ€
  • -n β€” Do not connect stdin to the process. hands off the stdin bestie πŸ™ˆ
  • --version β€” show the module and its version which provides the command. know your roots 🌱
lowkey reminder: -4 and -6 are both "only" options, so don't come crying to me if you use them at the same time, that's between you and your network stack 😭

🧚 AUTHORS 🧚

datalad is developed by The DataLad Team and Contributors <team@datalad.org>. give them their flowers, they earned them πŸ’


and that's the page!! πŸ’œ this was datalad sshrun version 1.1.5, dated 2025-06-15, living its best life in datalad sshrun(1). mwah 😘✨

πŸ“¦ where this page comes from