Skip to content

Ssh

Ssh to a remote machine

Usage: clan ssh

Options
  • -j, --json: specify the json file for ssh data (generated by starting the clan installer)
  • -P, --png: specify the json file for ssh data as the qrcode image (generated by starting the clan installer)
  • --ssh_args: additional ssh arguments
  • --debug: Enable debug logging
  • --option: <('name', 'value')> Nix option to set
  • --flake: <PATH> path to the flake where the clan resides in, can be a remote flake or local, can be set through the [CLAN_DIR] environment variable

This subcommand allows seamless ssh access to the nixos-image builders.

Examples

$ clan ssh [ssh_args ...] --json [JSON]

Will ssh in to the machine based on the deployment information contained in the json string. [JSON] can either be a json formatted string itself, or point towards a file containing the deployment information

For more detailed information, visit: deploy