SSH setup
Connect to a machine over SSH.
You can generate SSH key pairs and connect to your Mars Machine from your preferred terminal or code editor.
Configure networking with Tailscale before setting up SSH. SSH access depends on the private Tailscale connection.
Step 1 of 5
Generate an SSH key pair
Create an ed25519 key on your local machine and keep the public key ready to copy.
ssh mars-user@[MACHINE_NAME]works becausemars-useris the default configured user and[MACHINE_NAME]is a valid hostname for Tailscale to route the traffic to the correct machine.
Adding machines to config
Step 1 of 2
Open your SSH config
Edit ~/.ssh/config on your local machine to add the Mars Machine alias
Code editors
Step 1 of 2
Open the remote SSH command
Use your editor's remote SSH workflow or command palette to start a new SSH connection.