Logging in
A machine is entered with a key only; it has no password.
The machine runs Ubuntu 24.04. Its default account is ubuntu, which has sudo without a password.
macOS and Linux
Put the private key in ~/.ssh and make it readable by you alone. This is done once:
mv ~/Downloads/xabcloud_ed25519 ~/.ssh/
chmod 600 ~/.ssh/xabcloud_ed25519Then log in:
ssh -i ~/.ssh/xabcloud_ed25519 ubuntu@your-machine-addressWindows
Windows 10 and later come with OpenSSH. In PowerShell:
ssh -i $HOME\Downloads\xabcloud_ed25519 ubuntu@your-machine-addressTyping less
Add this to ~/.ssh/config. After that ssh mybox logs in, and Remote-SSH in VS Code and Cursor can pick it from their lists:
Host mybox
HostName your-machine-address
User ubuntu
IdentityFile ~/.ssh/xabcloud_ed25519
ServerAliveInterval 30Keeping work running after you disconnect
To let a job carry on after you close your laptop, use tmux:
tmux new -s work # start a session once logged in
tmux attach -t work # log in again later and return to it