---
title: "Connect Your First Server"
description: "Connect a test Linux server to Userify, grant SSH access, and verify your first connection."
url: "https://userify.published.dev/docs/first-server.md"
canonical_url: "https://userify.published.dev/docs/first-server"
section: "Docs"
updated: "2026-12-01"
---

> Breadcrumbs: Docs > Connect Your First Server
> Sitemap: https://userify.published.dev/docs/sitemap.md
> LLMS index: https://userify.published.dev/docs/llms.txt

# Connect Your First Server

Connect one server to Userify and make your first SSH connection. Use a test server for this tutorial.

## Before you start

You need:

- A Userify Cloud account. To create or manage a company, project, or server group, you need a role that allows those actions. Otherwise, ask a company administrator to set them up.
- One Linux server that your Userify plan supports.
- Existing administrative access to that server so you can install software.
- An SSH client on your workstation and network access to the server.
- The Userify account that should receive SSH access.

If you are joining a company by invitation, accept it and ask a company administrator to grant you server access. Accepting an invitation alone does not grant SSH access. See [Getting Logged In](https://userify.published.dev/docs/getting-logged-in).

## Create a server group

Userify applies user accounts, SSH keys, and permissions to servers in a server group. For your first test, use a group with one server.

1. Create or select your company. See [Creating Your Company](https://userify.published.dev/docs/creating-your-company).
2. Create or select a project. See [Creating Projects](https://userify.published.dev/docs/creating-projects).
3. Create or select a server group in that project. See [Creating Server Groups](https://userify.published.dev/docs/creating-server-groups).

## Add your public key

Generate an SSH key on your workstation, or select a key that you already use. Add the **public key** to your Userify account. Keep the private key on your workstation.

Choose the guide for your workstation:

- [Generate an SSH key on Linux](https://userify.published.dev/docs/generating-ssh-key-linux).
- [Generate an SSH key on macOS](https://userify.published.dev/docs/generating-ssh-key-mac).
- [Generate an SSH key on Windows](https://userify.published.dev/docs/generating-ssh-key-windows).

Add the public key file that ends in `.pub` to your Userify account. Keep the private key on your workstation.

## Install Userify on the test server

Open the server group and get its current installation command from Userify. Treat that command as sensitive because it can contain group credentials. Do not share it in a public issue, chat, or screenshot.

1. Connect to the test server with your existing administrative access.
2. Run the installation command from Userify on that server. Use an account that can install software.
3. Return to Userify and confirm that the server appears in the server group.

Do not reuse a real group credential in examples or support reports. If the server does not appear, check that you ran the command on the intended host and that it completed without an error. For help, contact [Userify support](mailto:support@userify.com).

## Grant access and connect

Ask a company administrator to grant your Userify account the intended access to this server group. Use the access level approved for your role.

From your workstation, open a **new** SSH connection to the server:

```bash
ssh YourUserifyUsername@server.example.com
```

Replace `YourUserifyUsername` with your Userify username. Replace `server.example.com` with the test server's hostname or IP address.

After you connect, run:

```bash
whoami
```

The command prints the account name used for this SSH session. This confirms which account logged in. It does not test every permission or prove how access changes behave while a server is offline.

If the connection fails, check the hostname, username, network access, public key, and the access granted to your account. Make sure you opened a new SSH connection after the server joined the group. If you still cannot connect, contact [Userify support](mailto:support@userify.com) and include the error message without sharing private keys or group credentials.

## Next steps

- [Review the server deployment options](https://userify.published.dev/docs/deploying-servers) if you need to connect more servers.
- [Learn how the Userify shim works](https://userify.published.dev/docs/shim-internals) before you choose an automation method.

## Continue reading
- Previous: [Creating Your Account](https://userify.published.dev/docs/creating-your-account.md)
- Next: [Generate an SSH Key](https://userify.published.dev/docs/generating-ssh-keys-on-ec2.md)

## Section links
- [Docs home](https://userify.published.dev/docs)
- [LLMS index](https://userify.published.dev/docs/llms.txt)
- [Sitemap](https://userify.published.dev/docs/sitemap.md)