Skip to main content
Servers Are Up
Virtual Datacenter
Pricing
Sign inCreate VDC
Servers Are Up
Virtual Datacenter
Pricing
Sign inCreate VDC

Loading…

Servers Are UpEncrypted Multi-Provider VDC

Connect your cloud and on-site servers in one encrypted Virtual Datacenter. Open a browser console, recover a backup or automate a deployment from your workspace.

Customer Portal & Services

Client DashboardMulti-Provider VDCMy ServersBYOC & HybridBrowser ConsoleBillingAPI Keys & MCPSupport
SLA with service creditsVirtual datacenterWorkspace pricingRegional placement

Create your virtual datacenter

Connect your first machine or check regional availability in your workspace. Review the monthly price before you order.

Sign up freeView Pricing

Products

  • Linux servers
  • Windows servers
  • Cloud & SaaS Services
  • Cloud Storage (Azure)
  • Virtual Datacenter
  • AI workloads
  • Containers
  • Self-hosted applications
  • Software Platforms
  • Network builder
  • Game Servers
  • Game sponsorship
  • Pricing

Resources

  • Free Network Tools
  • 2026 Pricing Benchmark
  • Live SVG Badges
  • Latency & Speed Test
  • Guides & Tutorials
  • Documentation
  • API Reference
  • MCP Server
  • CLI & SDKs
  • OpenAPI & llms.txt
  • Use Cases
  • Migration guide
  • Uptime & Reliability
  • Datacenter
  • System Status
  • Network
  • Provider Comparisons Hub
  • Compare Providers

Company

  • About Us
  • Enterprise
  • Security Architecture
  • Trust Center
  • Blog
  • FAQ
  • Compliance
  • Startup Program
  • Open-Source Sponsorship
  • Press & Media Kit
  • Referral Program
  • Help Center
  • Contact Us
© Servers Are Up
TermsPrivacySLARefund PolicyDPAAcceptable Use
Service information
Docs
  • Documentation Hub
  • Technical Knowledge Library
    Runbooks & 187 Blueprints
  • Choose a Product
    VMs, Containers & Cloud
  • First Linux Server
    SSH, Firewall & Apps
  • Windows Server 2025
    BYOL & Remote Desktop
  • Remote Access
  • Troubleshooting
  • FAQ
  • All Product Guides
    33 Step-by-Step Guides
  • Cloud & SaaS Catalog
    139 Cloud & SaaS Offerings
  • Azure Cloud Storage
    Hot/Cool/Archive & WORM
  • Resource Manager & RBAC
    Groups, Tags & Locks
  • ARM/TF & Cloud Blueprints
    42-Type IaC & State
  • OCI Container Registry
    SBOM, CVE & Signing
  • Multi-Model Cloud DB
    JSONB, SQL & pgvector
  • Cloud Identity & ZTNA
    OIDC, SCIM & PIM
  • Per-Environment Tenant Suite
    Isolated Auth, SIEM & MCP
  • Secrets & KMS
    Secrets & Envelope Keys
  • Cloud SIEM, SOAR & DLP
    Posture & Threat Response
  • Data Lineage & DSPM
    Classification, EASM & DKE
  • API Gateway & Cloud DNS
    Edge WAF & DNS Zones
  • Serverless, Workflows & IoT
    Functions, Queues & DAGs
  • SaaS, Governance & Vault
    Budgets & Off-Host GRS
  • Linux Systems & Kernel
    SSH, UFW, sysctl & OOM
  • Self-Hosted Apps & Stacks
    Caddy, Nextcloud & Auth
  • Build Web Apps with AI
  • Next.js and React
  • TypeScript and Node.js
  • npm and Tooling
  • Data and APIs
  • Deploy and Operate
  • Tutorials
  • Infrastructure
  • Automation & Regions
  • API Overview
  • API v1 Reference
    Endpoints & 26 Scopes
  • MCP Server
    202 AI Agent Tools
  • Swagger / OpenAPI 3.1
  • API Playground
  • Versioning & Sunset
  • API Token Security
    Authentication & Tokens
  • Instances API
    Compute Resources
  • Networking API
    Networks & Ports
  • Storage API Availability
    Volumes & Backups
  • Webhooks & Events
    Event Notifications
  • Rate Limits & Best Practices
    Throttling & Retries
  • sau CLI Reference
    202 Commands (v0.3)
  • Browser Web CLI
  • SDKs
  • Infrastructure as Code
    Terraform & Ansible
  • Code Examples
  • CLI & SDK Guides
  • Security Guides
  • Security at a Glance
  • Zero Trust Architecture
  • Live Trust Center
  • Compliance
Need help?

Loading documentation...

Documentation/security

SSH Key Management

Best practices for generating, rotating, and securing SSH keys for instance access.

Beginner
8 min
Updated 2026-03-11
Browse runbooks

Connect your first machine

Manage one cloud or on-site machine free. Team covers up to 10 machines and Business covers up to 50.

Open your VDCView Pricing

SSH keys provide secure, password-less authentication to your instances. This guide covers generating, adding, rotating, and securing your SSH keys.

Generating an SSH Key

We recommend Ed25519 keys for the best security and performance:

# Generate an Ed25519 key
ssh-keygen -t ed25519 -C "your-email@example.com"

# Or RSA (4096-bit minimum)
ssh-keygen -t rsa -b 4096 -C "your-email@example.com"

When prompted, save to the default location (~/.ssh/id_ed25519) and set a strong passphrase.

Adding a Key to Your Account

Dashboard

  1. Go to Access > SSH keys
  2. Click Add SSH key
  3. Paste your public key (~/.ssh/id_ed25519.pub)
  4. Give it a descriptive name and click Add key

CLI

Add/remove keys via Access > SSH keys in the dashboard, or POST/DELETE /api/v1/ssh-keys (see API docs). The sau CLI supports ssh-keys list only.

API

curl -X POST https://serversareup.com/api/v1/ssh-keys \
  -H "Authorization: Bearer $SAU_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "work-laptop",
    "publicKey": "ssh-ed25519 AAAA... your-email@example.com"
  }'

Using SSH Keys with Instances

Every active key in your account (or your organization's keys, for an organization's server) is installed for the sauuser account when a Linux server is built or rebuilt. A key you add later reaches a server that is already running only if you add it there yourself (see Key Rotation below).

Create a Virtual Datacenter first. Enroll a machine in your cloud account or at your site, or choose a currently qualified external region in the VDC. Check the displayed provider, configuration and price before placing an order.

Turn on public SSH on the server's page, then copy the command from its How to connect card. It looks like this:

ssh sauuser@SERVER_ADDRESS -p SSH_PORT

Root cannot sign in. Run administrative commands with sudo, or start a root shell with sudo -i.

Disabling Password Authentication

After verifying SSH key access works, you can turn off password sign-in. The console's terminal signs in with the server's password, so it stops working after this; use SSH from your own computer instead.

# On your server. sshd keeps the first value it reads, and it reads sshd_config.d in name order,
# so this file wins over the one that turned passwords on when the server was built.
echo 'PasswordAuthentication no' | sudo tee /etc/ssh/sshd_config.d/00-no-passwords.conf
sudo sshd -t && sudo systemctl reload ssh
sudo sshd -T | grep -i '^passwordauthentication'

The last line should print passwordauthentication no. To turn passwords back on, delete that file and reload ssh again.

Key Rotation

Rotate SSH keys periodically or whenever a team member leaves:

  1. Generate a new key pair
  2. Add the new public key to your account and instances
  3. Verify you can connect with the new key
  4. Remove the old key from your account and instances
  5. Delete the old private key from your local machine

Remove keys via Access > SSH keys or DELETE /api/v1/ssh-keys/{id} (see API docs). The sau CLI supports ssh-keys list only.

To add a key to a server that is already running, or drop one from it:

ssh sauuser@SERVER_ADDRESS -p SSH_PORT 'mkdir -p -m 700 ~/.ssh && cat >> ~/.ssh/authorized_keys' < ~/.ssh/new_key.pub
ssh sauuser@SERVER_ADDRESS -p SSH_PORT "sed -i '/old-key-comment/d' ~/.ssh/authorized_keys"

Best Practices

Practice Why
Use Ed25519 keys Stronger security, smaller keys, faster
Set a passphrase Protects the private key if your device is compromised
Use ssh-agent Avoid typing your passphrase repeatedly
One key per device Revoke a single device without affecting others
Never share private keys The private key should never leave the device that generated it
Disable password auth Eliminates brute-force password attacks
Rotate keys regularly Reduces risk from compromised keys

Troubleshooting

Problem Solution
Permission denied Check that the correct key is being offered: ssh -v root@IP
Key not accepted Verify the public key format is correct when adding to your account
Agent forwarding issues Run ssh-add to add your key to the agent

Next Steps

  • Two-Factor Authentication
  • API Token Security
  • Firewall Configuration

Related Articles

Two-Factor Authentication

Read more

API Token Security

Read more

Firewall Configuration

Read more

Frequently Asked Questions

What does the SSH Key Management documentation guide cover?
Best practices for generating, rotating, and securing SSH keys for instance access. It is rated beginner difficulty (8 min) and applies to Servers Are Up infrastructure and workflows.
Can I manage or automate these steps through the Servers Are Up dashboard, REST API v1, or MCP server?
Yes. Every Servers Are Up server includes browser-based SSH, WebRDP, and VNC console access in the dashboard, plus programmatic control via the REST API v1 (/api/v1) and hosted Model Context Protocol server (/api/mcp/v1) using a scoped Personal Access Token.

Need hands-on help with SSH Key Management?

Open the workspace to check your machine’s connection and available controls. For automation, consult the REST API or MCP guide. Include the resource and region when you contact support.

Was this article helpful?

On this page

Generating an SSH KeyAdding a Key to Your AccountDashboardCLIAPIUsing SSH Keys with InstancesDisabling Password AuthenticationKey RotationBest PracticesTroubleshootingNext Steps