GoAdmio
GoAdmio Documentation

Restart SSH

From the GoAdmio knowledge base.

Restart SSH

This page explains how to restart the SSH services in GoAdmio. The server runs two SSH servers — OpenSSH (the standard, full-featured SSH server) and Dropbear (a lightweight alternative) — and restarting SSH restarts both.

Location: Admin Panel → Restart Services → SSH Server



Overview

GoAdmio's server runs two SSH services:

| Service | Purpose | Default port |
|---|---|---|
| OpenSSH (sshd) | Full-featured SSH server — shell, SFTP, SCP, tunneling | 22 |
| Dropbear (dropbear) | Lightweight SSH server — smaller footprint, backup access | 22222 |

Both are configured on the SSH Port page. Restarting SSH restarts both services, so a problem with one does not lock you out if the other is still working.

Restarting SSH:

  • Reloads the SSH configuration (sshd_config, Dropbear's config)
  • Applies changes to ports, authentication, and root login restrictions
  • Loads new host keys or certificates
  • Recovers a stalled SSH server
  • Disconnects active SSH sessions — including the one you may be using
> Warning: Restarting SSH disconnects every active SSH session — including yours, if you are connected via SSH. The restart completes in a few seconds, but you must reconnect. If you restart SSH from within an SSH session, your session will drop.

When to Restart SSH

Restart SSH after:

| Change | Why |
|---|---|
| Changing the SSH port | Applies the new port — see SSH Port |
| Changing PermitRootLogin | Applies the new root login policy |
| Adding or removing authorized keys | Reloads the key list |
| Changing authentication methods | Applies password/key/2FA settings |
| Restricting root login to specific IPs | Applies the allowlist — see SSH Port |
| Renewing the SSH host key | Loads the new key |
| SSH is not responding | Recovers a hung SSH server |
| After installing a security update | Applies the new binary |
| After a server crash | Recovers the SSH services |

> Tip: For most configuration changes, reload is preferable — it applies the config without dropping active sessions. Use systemctl reload sshd for OpenSSH.



How to Restart SSH via the Panel

  1. Log in to the GoAdmio Admin Panel.
  2. Navigate to Restart Services.
  3. Locate SSH Server.
  4. Click Restart.
  5. Confirm if prompted.
  6. Wait for the services to restart — typically a few seconds.
The panel restarts both OpenSSH and Dropbear.

> Warning: If you are connected to the server via SSH, restarting SSH will disconnect your session. The panel restart runs over HTTPS, so your panel session is not affected — but your SSH session will drop.

Verify the restart

  1. Open Service Status — confirm both SSH services are running. See Service Status.
  2. Reconnect via SSH to confirm access works:
```bash ssh -p 22 user@server-ip
↑