job:ssh#

SSH to the head node of the cluster where a job is currently running.

This command works only on Linux and macOS and only if you have added an SSH key to your account.

Hint

As an alternative to running this command, you can run SSH directly from the command line on any operating system.

Usage

horizon job:ssh [options] <job>

Arguments

<job>

The ID of the running job. To get the job ID, run job:list or navigate to Jobs > Job Details in the web interface.

Options

This command supports the general CLI options in addition to those listed below.

--x11, -X

Enable X11 forwarding for graphical applications. You can use this option if you need to run a graphical application, such as gnuplot, on the cluster.