Open Windows Terminal and run:
ssh-keygen -t ed25519 -C "laptop"
Press Enter for all prompts. Your keys are saved to:
C:\Users\<you>\.ssh\id_ed25519 (private key — keep secret)
C:\Users\<you>\.ssh\id_ed25519.pub (public key — this goes on cube)
Paste the contents of id_ed25519.pub onto a new line
in:
/home/alex/.ssh/authorized_keys
You can do this from inside cube’s tmux session:
cat >> ~/.ssh/authorized_keys
# paste the key, then press Ctrl-D
Create or edit C:\Users\<you>\.ssh\config:
Host cube
Hostname minecraft.locklin.science
Port 25560
User alex
IdentityFile ~/.ssh/id_ed25519
ServerAliveInterval 60
ServerAliveCountMax 3
ssh cube
You will land in tmux automatically.
Ctrl+Shift+P → Remote-SSH: Connect to
Host → select cubeThe ~/share folder is shared over Samba, accessible only
when your laptop is on the Tailscale network.
Install and connect Tailscale on your laptop
In Windows Explorer address bar, type:
\\cube.alex.net.locklin.science\share
Or press Win+R and enter the path above.
The share lets you drag files in and out without SCP or the terminal.