distrorejuveby RimuHosting

Way A

Let us take a look

Add the public key we send you, let our addresses through, and we confirm the access works before we collect anything. You stay in control, and we remove the key when the job ends.

First, request your keys with the short form at the end of this page. The steps below are for when they arrive.

Not the person who looks after the server? Forward this page to whoever is. Everything they need is on it.

Which account?

For the assessment, an existing normal account is enough. For fuller collection and any later source image or database exports, we'll need root with key-only login, or an account with sudo. Upgrade work happens on the new RimuHosting VM. Tell us which you'd prefer; adding a key doesn't grant sudo by itself.

Already hosted with RimuHosting?

Request an assessment in your RimuHosting account. Our team will check existing access before asking you to change anything.

We will never ask for your password or private key.

You only ever add our public key. If anyone asks for a private key or password, don't send it.

  1. Check your current setup

    This read-only check changes nothing. Run it as the account we'll log in to. It shows the SSH settings and access rules that most often block a key login.

    echo "Account: $(id -un)" ls -ld ~ ~/.ssh ~/.ssh/authorized_keys 2>&1 grep -EiH '^\s*(Port|PermitRootLogin|PubkeyAuthentication|AllowUsers|AllowGroups|AuthorizedKeysFile|Match)\b' \ /etc/ssh/sshd_config /etc/ssh/sshd_config.d/*.conf 2>/dev/null grep -EvH '^\s*(#|$)' /etc/hosts.allow /etc/hosts.deny 2>/dev/null

    Keep the output handy. Step 3 explains what to look for.

  2. When the keys arrive, add them

    After staff review your request and agree the scope, they arrange job-specific public keys: Ed25519 for modern servers and RSA for older ones. Adding both is fine; an older server ignores the line it doesn't understand. Each key's comment names the job, so you can always find and remove it.

    From an existing session, as the account we'll use:

    mkdir -p -- "$HOME/.ssh" && chmod u=rwx,go= -- "$HOME/.ssh" && touch -- "$HOME/.ssh/authorized_keys" && chmod u=rw,go= -- "$HOME/.ssh/authorized_keys" && printf '\n%s\n' 'PASTE_ED25519_PUBLIC_KEY_LINE_HERE' \ 'PASTE_RSA_PUBLIC_KEY_LINE_HERE' >> "$HOME/.ssh/authorized_keys"

    This adds new lines and keeps your existing keys. Each key line looks like ssh-ed25519 AAAA… upgrade-assessment JOB-REF ed25519.

  3. Make sure SSH accepts key logins

    Check the output from step 1:

    • Logging in as root? PermitRootLogin should be prohibit-password (older servers: without-password). This allows key login and keeps password login off. no blocks root completely.
    • AllowUsers or AllowGroups set? They need to include the account we'll use.
    • SSH on a port other than 22? That's fine. Tell us the port in step 5.
    • ~/.ssh or authorized_keys open to group or others, or owned by another user? SSH ignores the keys. The commands in step 2 set the right permissions.

    If you edit sshd_config, run sudo sshd -t to test it before restarting SSH, and keep your current session open until a new login works.

  4. Allow our addresses

    If you restrict SSH by source address, allow our connection addresses through every layer that applies: your provider's firewall or security group, the server's own firewall, and /etc/hosts.allow.

    Our addresses: To confirm listed in your job email.

    # Repeat for each of our addresses; use your SSH port sudo ufw allow from OUR_ADDRESS to any port 22 proto tcp

    No source restrictions? Skip this step.

  5. Tell us how to connect

    Use the form at the end of this page, or reply to your job email. We use the host-key fingerprint to confirm we've reached your server and not an impostor.

    • Host name or IP address, and SSH port
    • The account to use, and whether it has sudo
    • Anything in the way, such as a bastion host or VPN
    • Your server's host-key fingerprint:
    ssh-keygen -lf /etc/ssh/ssh_host_ed25519_key.pub # Older servers: ssh-keygen -lf /etc/ssh/ssh_host_rsa_key.pub

    If you've already sent us a manifest, it contains these fingerprints.

  6. Check the access works

    First confirm the keys are in place. You should see 2, or 1 if you added a single key:

    grep -c 'upgrade-assessment' ~/.ssh/authorized_keys

    Then reply to your job email to say it's ready. We'll connect, check the host key matches, and email you to confirm access works before we collect anything. You can see our login in your server's log:

    sudo grep 'Accepted publickey' /var/log/auth.log | tail -n 5 # CentOS and similar: /var/log/secure # systemd journal: sudo journalctl -u ssh -u sshd | grep 'Accepted publickey' | tail -n 5
    Not working?

    We'll tell you where it stopped: the network or firewall, the host key, or the key being refused. Your auth log usually shows the reason. The usual fixes are the permissions in step 2, an AllowUsers line, or a firewall rule from step 4.

  7. When we're finished

    We remove both job keys when access is no longer needed and confirm by email. You can remove them yourself at any time. That stops our work until access is restored.

    sed -i.bak '/upgrade-assessment JOB-REF/d' ~/.ssh/authorized_keys

Request access keys

Request your job's keys

Request an assessment and staff will arrange your job’s public keys after reviewing the scope. A few questions a manifest can't answer are included. Unknown answers are fine.

The assessment is non-disruptive and collects information only. Collection doesn't install packages or change your data, services or settings. We agree temporary access setup with you first. Any source image or database exports, service pauses and upgrade work need an approved plan; the upgrade itself happens on the new RimuHosting VM.

Request assessment access instructions

We save your request and provide a reference. Staff will confirm the scope and arrange the next steps. Keep credentials and manifests out of this form.