Changes

Jump to: navigation, search

K-Scale Cluster

1,140 bytes added, 24 April
Created page with "The K-Scale Labs cluster is a shared cluster for robotics research. This page contains notes on how to access the cluster. To get onboarded, you should send us the public key..."
The K-Scale Labs cluster is a shared cluster for robotics research. This page contains notes on how to access the cluster.

To get onboarded, you should send us the public key that you want to use and maybe your preferred username.

After being onboarded, you should receive the following information:

* Your user ID (for this example, we'll use <code>stompy</code>)
* The jumphost ID (for this example, we'll use <code>127.0.0.1</code>)
* The cluster ID (for this example, we'll use <code>127.0.0.2</code>)

To connect, you should be able to use the following command:

<syntaxhighlight lang="bash">
ssh -o ProxyCommand="ssh -i ~/.ssh/id_rsa -W %h:%p stompy@127.0.0.1" stompy@127.0.0.2 -i ~/.ssh/id_rsa
</syntaxhighlight>

Note that <code>~/.ssh/id_rsa</code> should point to your private key file.

Alternatively, you can add the following to your SSH config file, which should allow you to connect directly:

<syntaxhighlight>
Host jumphost
User stompy
Hostname 127.0.0.1
IdentityFile ~/.ssh/id_rsa

Host cluster
User stompy
Hostname 127.0.0.2
ProxyJump jumphost
IdentityFile ~/.ssh/is_rsa
</syntaxhighlight>
475
edits

Navigation menu