NNoble VPS
← All docs

Linux

Connect over SSH

First login, keys, and a short hardening list for Linux VPS.

Linux plans ship with SSH on port 22 and a root (or sudo) user.

First login

Copy the IPv4 from the client area, then connect as root (or the sudo user shown on the service).

Bash
ssh root@YOUR_IP

The password or bootstrap key is on the service in the client area.

Keys

Add your public key, confirm a new session, then disable password logins if you are ready.

Bash
mkdir -p ~/.ssh
chmod 700 ~/.ssh
echo "YOUR_PUBLIC_KEY" >> ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys

Hardening

Create a non-root sudo user, enable automatic security updates for your distribution, and keep 22 closed to the world if you have a stable office IP.

Locked out

Use the console in the client area or open a ticket. Do not disable SSH before the key works.