SSH

Workspaces are configured with an SSH agent, which runs an SSH daemon within your workspace runtime. You can connect to your workspace on the command line and get root access to the runtime (similar to what the Web terminal provides) from other machines. You can optionally disable the SSH agent for your workspace from within the dashboard.

Public / Private Key Generation

If your workspace has the SSH agent activated in the dashboard, then SLX.cloud runs an SSH daemon within the machines that are part of your workspace. The SSH agent is activated by default with all new workspaces and you can manually disable it within the dashboard. If your workspace is powered by Docker Compose, then the SSH agent is deployed into every container that makes up your compose services. You can optionally remove the SSH agent from selected machines of your compose services from within the dashboard.

Each new workspace has a default key-pair generated for it. The private key is inserted into each machine of a workspace and they will all share the same public key. You can generate a new key-pair in the dashboard, or remove the default one to be replaced with yours. Replacing machine’s key-pair requires restart of workspace if workspace is running.

API clients must be authenticated with appropriate permissions before they can request the private key for a workspace.

Connect

You can connect to your workspace using our Docker CLI container or your off-the-shelf SSH client such as ssh on Linux/Mac or putty on Windows.

One nice aspect of our SSH capabilities is that they are all done inside of a Docker container, letting any OS connect to a SLX.cloud workspace using the same sytnax without the user having to install specialized tools for each OS.

SSH With Native Tools

If you want to use your native SSH tools to connect to a workspace, you can get the connectivity information that you need to use through the dashboard as described in Public/Private Key Generation section on this page. You can then pass this information into ssh or putty to make a direct connection.