# Use the browser terminal

> Turn on the browser terminal to log in to your server as root from the panel with one click, with no SSH client and no key file, and turn it off again.

Source: https://rack4.io/help/browser-terminal · Updated: 2026-11-29

The browser terminal logs you in to your server as root, right in the panel, with one click: no SSH client to install, no key file to find and no password to type. It's off until you turn it on, and you can turn it off again whenever you like.

**While it's on, Rack4 can log in to your server as root.** That's how the button logs you in, so only turn it on if you're happy with that.

## How it works

When you turn it on, our host makes an SSH key of this server's own and adds its public half to root's `~/.ssh/authorized_keys`, as a line ending in `rack4-panel-terminal`. The private half stays on our host: nobody sees it, you included, and it's never stored anywhere else. **Open terminal** then connects from our host to your server over SSH with that key and shows the session in the page.

When the terminal is first turned on, our host also notes the server's SSH host key. From then on it refuses to log in if that key changes, so a session always reaches your own server. The fingerprint shows in the first-connect steps under **How to connect** on the server's page; compare it with what SSH shows on your computer the first time you connect.

## Turn it on

1. Open the server in the panel and choose **Console**, then **Browser terminal**.
2. Read what it does, then click **Turn on the browser terminal**.
3. The server restarts once to add the key, which takes about a minute. Nothing else on the server changes.

You can also tick **Browser terminal** when you order a server: it's built with the terminal already on, and nothing restarts.

We email the account owner whenever the terminal is turned on or off.

## Open it

On the **Browser terminal** tab, or with **Open terminal** at the top of **How to connect** on the server's overview. The line under the terminal says `connected` and you get a root shell. Run `hostname` to be sure you're on the right server.

## Turn it off

On the **Browser terminal** tab, click **Turn off the browser terminal**. Our host deletes its key at once, and the server restarts once (about a minute) to remove the line from `authorized_keys`. Deleting the server deletes the key too.

## Limits

- One terminal per server at a time. The [serial console](https://rack4.io/help/serial-console) can be open beside it.
- A session closes after 15 minutes with no typing and no output, and after 2 hours whatever you're doing. **reconnect** starts a new one.
- We don't keep what you type or what the server prints. The server's event list records that a terminal session ran, how long it lasted, how many bytes went each way and why it closed.
- The terminal starts at the size of your browser window. If you resize the window later, run `stty rows 40 cols 120` with numbers that fit.

## Troubleshooting

- **Connection timed out or refused.** The server's own firewall (`ufw`, `firewalld`) blocks SSH from our host, or SSH isn't running on port 22. The [panel firewall](https://rack4.io/help/server-firewall) never blocks the terminal. Log in on the [serial console](https://rack4.io/help/serial-console) and allow SSH, for example `ufw allow OpenSSH`.
- **Permission denied, or it asks for a password.** Our key isn't in root's `authorized_keys` any more (it was edited, or a backup from before the terminal was turned on was restored), or `sshd` doesn't let root log in with a key. Turn the terminal off and on again, which adds the key back.
- **Host key verification failed.** The server's SSH host key changed after the terminal was turned on. If you replaced the keys yourself, turn the terminal off and on again. If you didn't, [open a support ticket](https://my.rack4.io/support/new?category=technical).
- **Not available on this server yet.** The host your server runs on needs an update first. The serial console works meanwhile.

## Next steps

- [Connect to your server with SSH](https://rack4.io/help/connect-with-ssh), from your own computer
- [Use the serial console](https://rack4.io/help/serial-console), when SSH itself is broken
- [Make an SSH key](https://rack4.io/help/ssh-keys)
