# How do I log in to an IronKVM VPS over SSH the first time?

> First SSH login to an IronKVM VPS: the SSH command on the server page, key or temporary root password, changing it with passwd, and first checks.

- URL: https://ironkvm.com/help/first-ssh-login/
- Last updated: 2026-11-16
- Publisher: IronKVM (https://ironkvm.com)

**Quick answer — How do I log in to an IronKVM VPS over SSH?**

Open the server in the **IronKVM** dashboard once it shows Running, copy the SSH command, and run it in a terminal as root. With an SSH key given at checkout, the key logs you in. Without one, use the temporary root password shown on the same page, then change it with passwd. Setup takes 1 hour at most.

**In brief**

- **Where**: the server page shows the SSH command, the user (root) and, without a key, the root password.
- **With a key**: password login stays off; only your key opens root.
- **Without a key**: log in with the temporary password, run passwd, and add a key later.
- **First warning**: SSH asks you to accept the server's host key on the first connection.
- **Mail**: Outgoing port 25 is closed on every VPS and stays closed; ports 465 and 587 towards a mail provider are open.

## What does the server page show for each access type?

**The access card depends on whether you gave an SSH key at checkout.**

*IronKVM server page access details with and without an SSH key*

| Item | With an SSH key | Without a key |
| --- | --- | --- |
| SSH command | Shown, with a copy button | Shown, with a copy button |
| User | root | root |
| Login method | Your private key only | Temporary root password |
| Password shown | None | Root password, hidden until you show it |
| Advice on the page | Keep your private key safe; it is never asked for | Change it now with passwd; then add a key and turn password login off |
| After a reinstall | The new key you give, or the key from the order | A new temporary password, shown once the reinstall is done |

## How do you log in with an SSH key?

This works from Linux, macOS and Windows (PowerShell has an SSH client).

1. **Wait for Running** — The server status turns from Being created to Running, and the IP address appears.
2. **Copy the SSH command** — Click the copy button next to SSH command on the server page.
3. **Run it** — Paste it in a terminal. If your key is not the default one, add -i and the path to your private key.
4. **Accept the host key** — The first connection asks whether to trust the server's fingerprint. Type yes.

*Log in with a key, then with a temporary password*

```bash
# with the key you gave at checkout (replace the IP)
ssh -i ~/.ssh/id_ed25519 root@203.0.113.10

# without a key: log in with the temporary root password, then change it
ssh root@203.0.113.10
passwd
```

## What do you do first with a temporary password?

**Change it at once, then move to a key.** The server page says it plainly: log in, run passwd and type a new password twice. The old one then stops working, and nobody at IronKVM knows the new one.

Next, add your public key to /root/.ssh/authorized_keys and set PasswordAuthentication no in /etc/ssh/sshd_config. Test the key in a second terminal before you close the first. Root over SSH. Paste a public key at checkout and password login stays off; leave it empty and the team sets a temporary root password, shown in the dashboard, to change at first login.

## What should you check after the first login?

**Update the system, check the resources, and set a firewall.**

- Run `apt update && apt upgrade` on Debian or Ubuntu, or `dnf upgrade` on AlmaLinux or Rocky Linux.
- Check RAM with `free -h` and disk with `df -h` against your plan. Anvil, for example, has 6 vCPU / 16 GB / 240 GB NVMe.
- One IPv4 address and an IPv6 /64 per VPS, on a 1 Gbit/s port. The traffic quota counts outgoing data per 30 days; past it, the port is slowed, never billed extra.
- Open only the ports you use. Outgoing port 25 is closed on every VPS and stays closed; ports 465 and 587 towards a mail provider are open.

According to IronKVM's plan rules, no plan includes backups: keep a copy of anything that matters outside the VPS. The [KVM VPS page](https://ironkvm.com/offshore-kvm-vps/ "What is an offshore KVM VPS?") explains what KVM gives you, and the [plan list](https://ironkvm.com/pricing/ "How much does an IronKVM VPS cost?") shows each size.

## What if SSH does not answer?

**Check the status first, then reboot from the dashboard.** If the server shows Running but SSH times out, a reboot request often fixes a hung service. If you locked yourself out with a firewall rule or lost the key, a reinstall resets access but erases the disk.

Some servers also show a Control panel card with a console, rescue mode and power controls; when it is there, use it before a reinstall. See [reboot, reinstall, delete](https://ironkvm.com/help/reboot-reinstall-delete/ "How do I reboot, reinstall or delete an IronKVM VPS?").

## SSH login questions

### Which user do I log in as?

root. The server page shows the user next to the SSH command.

### Where is my root password?

Only if you gave no SSH key: the team sets a temporary root password and it appears on the server page, hidden until you show it. With a key, there is no password.

### Can IronKVM recover my private key?

No. The private key stays on your computer and is never asked for. If it is lost, reinstall the server with a new public key.

### Why does SSH warn that the host key changed?

After a reinstall the server gets a new host key. Remove the old entry with ssh-keygen -R and the IP, then connect again.

### Can I send email from the VPS?

Outgoing port 25 is closed on every VPS and stays closed; ports 465 and 587 towards a mail provider are open.

**Verdict**

- **Use an SSH key at checkout**: IronKVM then keeps password login off from the first boot.
- **With a temporary password, run passwd first**, then add a key and turn passwords off.

## Sources

1. [OpenSSH — ssh manual](https://man.openbsd.org/ssh) — OpenBSD project (2026-11-16)
2. [OpenSSH — sshd_config manual](https://man.openbsd.org/sshd_config) — OpenBSD project (2026-11-16)
3. [Microsoft — OpenSSH for Windows](https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_overview) — Microsoft (2026-11-16)

**Get a VPS with root over SSH** Ingot, 2 vCPU and 4 GB, for $8.25 a month on the 12-month term. [Order Ingot, 12 months](https://ironkvm.com/app/checkout/?plan=ingot&term=12m&from=help-first-ssh-login&lang=en) · [All help pages](https://ironkvm.com/help/ "Where is the IronKVM help centre, and which guide answers my question?")

---

IronKVM: IronKVM is an offshore KVM VPS provider with servers in the Netherlands, Romania and Moldova that takes no action on DMCA takedown notices, for content that is legal in the server's country. It is paid in crypto with no ID upload and run by DomaineGoat LLC, a company registered in Panama. On the 12-month term each plan costs at least 25% less than a named comparable plan read on 16 November 2026.
