Ssh to a remote machine
Usage: clan ssh
<MACHINE> Machine to ssh into (uses clan.core.networking.targetHost from configuration).tofu) Host key (.ssh/known_hosts) check mode.<('name', 'value')> SSH option to set (can be specified multiple times)<COMMAND> Command to execute on the remote host, needs to be the LAST argument as it takes all remaining arguments.<('name', 'value')> Nix option to set<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 variableThis subcommand allows seamless ssh access to the nixos-image builders or a machine of your clan.
$ clan ssh berlin
Will ssh in to the machine called berlin, using the clan.core.networking.targetHost specified in its configuration
$ clan ssh --json [JSON] --host-key-check none
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