Skip to main content

Module remote

Module remote 

Source
Expand description

Remote SSH proxy command.

Runs sc commands on a remote host via SSH, using the configuration stored by sc config remote set.

All arguments after sc remote are forwarded as-is to the remote sc binary. Each argument is individually shell-quoted to prevent injection. Example: sc remote statusssh user@host 'sc' 'status' '--json'

Functions§

execute
Execute a remote command via SSH proxy.