Access your VMs
Crusoe Cloud is currently in alpha. If you do not currently have access, please request access to continue.
SSH into a VM
SSH is the primary method of accessing VMs. When you create a VM, you will be given an IP address (e.g. 91.106.222.0
) to access the newly created VM. You should log in as the root
user using the SSH keypair provided when creating the VM. Port 22 (ssh
) is the only port available on this VM.
This IP is not guaranteed to be static, and it may change if you start and stop your VM.
Handling errors
Occasionally there will be an error with the SSH connection. If you see the Network unreachable
or Connection refused
errors, especially immediately after starting a VM, please wait a minute or two and try again. If you see other errors and are unable to log in to a running virtual machine, please contact support.
Setting longer SSH timeouts
If you want to set a longer timeout, you can modify your /etc/ssh/sshd_config
, for example to keep a connection alive for 24 hours:
ClientAliveInterval 120
ClientAliveCountMax 720
Once you've saved the file, restart the ssh
service by running service sshd restart
. Note that if you're sshed in, you will get disconnected.
Add additional SSH keys to a VM
If you wish to allow other users access to your VM, you can add their SSH public key to the ~/.ssh/authorized_keys
file on the VM you wish to grant them access to, replacing SSH_PUBLIC_KEY
with the desired public key:
echo "SSH_PUBLIC_KEY" >> ~/.ssh/authorized_keys
The newly added user should now be able to SSH into the machine their key was added to using the steps outlined above.
If you are unable to access your VMs and can see them running, please contact support.