Server Management

How to Give Remote Access to Your Server Securely — A Guide for Business Owners

When you hire a remote developer or IT team, you need to give them server access. Here is how to do it safely — without exposing your business to unnecessary risk.

March 14, 2025 10 min read NextCode Solutions

Giving a developer access to your server feels like handing someone the keys to your business. Done carelessly, it creates real security risks. Done properly, it is a routine and safe process that enables effective remote work. This guide explains exactly how to do it right.

Never Do This

  • Never share your root server password over WhatsApp or email in plain text
  • Never give root access when a restricted account will do
  • Never share the same credentials you use for other systems
  • Never give permanent access to a developer working on a short-term project

Level 1: cPanel Access (Websites on Shared Hosting)

If your site is on shared cPanel hosting, you have several options for granting access safely:

Level 2: VPS/Root Server Access

For VPS servers, the principle is minimum necessary access:

Step-by-Step: Creating a Secure SSH User

  1. SSH into your server as root: ssh root@your-server-ip
  2. Create new user: adduser developerName
  3. Add to sudo group: usermod -aG sudo developerName
  4. Ask developer to send you their public SSH key (usually in ~/.ssh/id_rsa.pub)
  5. Add their key: mkdir -p /home/developerName/.ssh && echo "their-public-key" >> /home/developerName/.ssh/authorized_keys
  6. Set permissions: chmod 700 /home/developerName/.ssh && chmod 600 /home/developerName/.ssh/authorized_keys

Sharing Credentials Securely

Never send passwords or credentials in plain text over email or WhatsApp. Use one of these methods:

Revoking Access When Work Is Complete

This step is critical and often forgotten. When a developer's project ends:

Related Reading

Need Help Setting Up Secure Server Access?

NextCode Solutions can configure secure SSH access, create restricted user accounts, and set up proper access controls for your VPS or dedicated server.

Get Server Help