Skip to content
Borg Digital Start now
Borg Digital

Web hosting · SSH access

Web hosting with SSH access: connect your AI and publish

You've got an AI that can write a website. Now it needs somewhere safe to put it. Our web hosting with SSH access lets Claude Code, Codex, Cursor and other AI tools connect to your account, build your site and publish it for you. AI does the heavy lifting, a real expert runs the show.

What "connect your AI to your hosting" means

Today's AI coding tools don't just suggest code. They can run commands, create files and copy them to a server. Give one a secure key to your hosting and it can work on your site the way a developer would: build it, test it and put it live. You stay in charge. The key is yours, you can remove it at any time, and we're on hand if anything looks odd.

Works with the AI tools you already use

If your AI tool can run commands over SSH, it can work with your Borg hosting. That covers:

  • Claude Code

    Anthropic's coding tool. It runs in your terminal and can use SSH.

  • OpenAI Codex CLI

    OpenAI's command-line coding agent.

  • Cursor

    AI code editor. Open your hosting folder over Remote SSH.

  • Gemini CLI

    Google's AI agent for the terminal.

  • Aider

    Open-source AI pair programmer that works with git.

  • And others

    VS Code with Copilot, Windsurf, Cline: anything that can use SSH.

These tools are made by other companies. You use your own account with them. We don't sell or support them, but we'll happily help with the hosting side.

The quick way: let your AI set it up

Prefer not to type the commands yourself? Fill in your details, copy this prompt and paste it into your AI tool (Claude Code, Codex, Cursor, Gemini CLI or similar). It makes a key, shows you the public half to add in cPanel, then connects and checks it works. The five steps below explain each part.

1 · Fill in your details

Your private key stays on your computer.

The prompt tells your AI never to share it. Only the .pub key goes into cPanel. Your details above are only used to fill in the prompt: nothing you type here is sent to us.

2 · Copy, then paste into your AI

Please connect this computer to my Borg Digital web hosting (cPanel) over SSH, one step at a time.

My hosting details:
- Server: SERVER-NAME
- cPanel username: CPANEL-USERNAME
- SSH port: 22

1. Check whether I already have an SSH key for this at ~/.ssh/borg_hosting. If not, make one with:
   ssh-keygen -t ed25519 -f ~/.ssh/borg_hosting -C "borg-hosting"
   Ask me first if I want a passphrase. (On Windows, use PowerShell; the path is the same under my user folder.)
2. Show me ONLY the public key, the contents of ~/.ssh/borg_hosting.pub, so I can copy it.
   Never show, copy, upload or send the private key (the file without .pub) anywhere.
3. Tell me to log in to cPanel, open SSH Access > Manage SSH Keys > Import Key, paste the public key and save,
   then click Manage next to it and Authorise it. Wait until I say it's done.
4. Add an entry called "borg" to my ~/.ssh/config with this server, username, port and the key ~/.ssh/borg_hosting,
   so we can connect with just: ssh borg
5. Test it with: ssh borg "pwd"
   - If it prints a folder, we're connected. My website lives in ~/public_html.
   - If it says "Shell access is not enabled", the key works but the account only allows file transfers (SFTP).
     Test with: sftp borg (then ls, then bye) and tell me to ask Borg Digital to switch on SSH if I need commands.
   - If it's refused or times out, tell me to contact Borg Digital to check SSH is switched on for my account.
6. Once connected, don't change, upload or delete anything on the server until I ask.
   When I ask you to publish, use git, scp or SFTP (rsync isn't available on this hosting),
   and always ask me before running a command that changes or deletes files on the server.

How it works, in five steps

It takes about ten minutes the first time. After that, your AI just gets on with it.

  1. Step 1 of 5

    Generate an SSH key (about 1 minute)

    An SSH key is a pair of files that works like a front-door key and its lock. The private key stays on your computer. The public key is the lock you give to us. Open a terminal (on Windows, PowerShell) and type:

    ssh-keygen -t ed25519 -C "my-laptop"

    Press Enter to accept the usual place, and add a passphrase if you like (we'd recommend it). You'll get two files: id_ed25519 (private, never share it) and id_ed25519.pub (public, safe to share).

    Never paste your private key into an AI chat, an email or a form. Only the .pub file ever leaves your computer.

    You can also ask your AI to make the key for you: use the copy-and-paste prompt above. Just check it gives you the .pub file, not the other one.

  2. Step 2 of 5

    Add the public key to your hosting

    Log in to cPanel and open SSH Access, then Manage SSH Keys. Choose Import Key, paste the contents of your .pub file and save. Then click Manage next to the new key and Authorise it. That's it: the lock is on the door.

    Stuck? Ask us and we'll help with the hosting side.

    Can't see SSH Access, or the connection is refused? SSH may not be switched on for your account yet. Ask us and we'll switch it on.

    (Behind the scenes, this adds your key to ~/.ssh/authorized_keys on your account.)

  3. Step 3 of 5

    Connect your AI over SSH

    We'll send you your server name, username and port. Test the connection yourself first:

    ssh you@yourserver

    If you land at a prompt, it works. Type exit to leave. Then tell your AI tool the same details. For example:

    "Connect to my hosting with ssh you@yourserver using my key in ~/.ssh/id_ed25519. My website lives in public_html."

    In Cursor or VS Code, use Remote-SSH: Connect to Host and open your folder. Terminal tools like Claude Code, Codex CLI, Gemini CLI and Aider use SSH the same way you just did.

  4. Step 4 of 5

    Let your AI build it

    Now ask for what you want in plain English: "Build me a five-page website for my bakery, with a menu page and a contact form." The AI writes the files and you review them.

    Two habits that save headaches:

    • Build and check it on your computer first, then publish. Keep your live site for finished work.
    • Keep it in git. Every change is saved as a step you can go back to. Most AI coding tools use git already.
  5. Step 5 of 5

    Publish your site over SSH

    When you're happy, ask your AI to put it live. It can do that in one of these ways over SSH:

    • git: push your project to your hosting and pull it into place. cPanel's Git Version Control can deploy it for you.
    • scp: copy the finished files straight into public_html:
    scp -r ./site/* you@yourserver:~/public_html/
    • SFTP: the same idea, if your tool or app prefers SFTP.

    Then open your website and check it. If something's not right, ask the AI to fix it and publish again.

    And we take a full backup of every site every night, so a bad publish is never the end of the world.

Keep it safe

Six simple habits keep you, your AI and your website out of trouble.

  • Keys, not passwords.

    A key can't be guessed, and you can remove it at any time.

  • One key per tool or computer.

    Stop using a tool or lose a laptop? Delete that one key in SSH Access and nothing else changes.

  • You approve the big steps.

    Most AI tools ask before they run a command. Leave that switched on, especially when it touches your live site.

  • Check before it goes live.

    Read what the AI changed, or ask it to explain it in plain English.

  • Your backups are ours to worry about.

    Every site is backed up every night, so there's always a recent copy.

  • Stuck? Talk to a person.

    Our UK team can look at the hosting side with you.

Web hosting with SSH access: questions

Do I get SSH access with my Borg Digital hosting?

Yes. Our hosting customers can connect over SSH with their own key. If SSH isn't switched on for your account yet, just ask and we'll turn it on.

Which AI tools can I connect to my hosting?

Any tool that can run commands over SSH. That includes Claude Code, OpenAI Codex CLI, Cursor, Gemini CLI and Aider. Those tools are made by other companies. We don't sell or support them, but we'll help with the hosting side.

How do I generate an SSH key and add it to my hosting?

Run ssh-keygen -t ed25519 in a terminal to make a key pair, then import the public .pub key in cPanel under SSH Access. The five steps above walk you through it.

Is it safe to let an AI publish to my website?

It's as safe as the habits around it. Use a separate key for each tool so you can remove one at any time. Keep the AI's "ask before running commands" setting on. Check changes before they go live. And every site is backed up every night, so there's always a recent copy.

Ready to let your AI publish for you?

Tell us what you're building and which AI tool you use. We'll get your hosting and SSH access set up with you.