CH-SSH(1)

πŸ“¦
version 0.31 Β· 2 versions
, in debian bookworm

πŸ’… CH-SSH(1) β€” the Charliecloud manual, bestie edition πŸ¦‹

okay so real quick, the manual name is Charliecloud and the page is ch-ssh, and we're on version 0.31 ✨

🌸 NAME 🌸

ch-ssh β€” run a remote command in a Charliecloud container

✨ SYNOPSIS ✨

$ CH_RUN_ARGS="NEWROOT [ARG...]"
$ ch-ssh [OPTION...] HOST CMD [ARG...]

πŸŽ€ DESCRIPTION πŸŽ€

So basically, this runs the command CMD inside a Charliecloud container on the remote host HOST. Slay. It takes the content of the environment variable CH_RUN_ARGS and uses that as the arguments to ch-run over on the remote host. That's the whole vibe.

NOTE, and this one matters: words inside CH_RUN_ARGS are delimited by spaces only. It is not shell syntax. Not quoting rules, not shell escaping, none of that. Space-separated words, periodt. πŸ’€

🌈 EXAMPLE 🌈

Say you're on host bar.example.com and you wanna run the command echo hello inside a Charliecloud container, using the unpacked image at /data/foo with starting directory /baz. It goes a lil something like this:

$ hostname
foo
$ export CH_RUN_ARGS='--cd /baz /data/foo'
$ ch-ssh bar.example.com -- hostname
bar

look at that. foo locally, bar remotely, no cap. 🫢

πŸ™ˆ REPORTING BUGS πŸ™ˆ

If you got Charliecloud from your Linux distribution, pls use your distribution's own bug reporting procedures. They got you, fr fr.

Otherwise, report bugs to: <https://github.com/hpc/charliecloud/issues>

πŸ‘‘ SEE ALSO πŸ‘‘

Full documentation at: <https://hpc.github.io/charliecloud>


2014–2022, Triad National Security, LLC and others


and that's the whole page bestie πŸ’– this was the Charliecloud ch-ssh manual, version 0.31, dated 2023-01-29 12:36 UTC ⭐ go run some remote commands, you got this πŸ’…πŸ§š

πŸ“¦ where this page comes from