Your AI agent can write code. But can it log in to your server, install n8n, fix an automation and hook a new app up to a domain while you watch? It can, and the thing that makes it possible is a decades-old protocol called SSH. In this short lesson Ariel explains what SSH is, how he uses it to let Claude Code and OpenClaw run his servers, and where the danger is.
What SSH is
SSH is a protocol for secure communication between computers. Say you have three servers that need to talk to each other over the internet: you open an SSH connection between each pair, and now each one can reach the others.
In real life it usually looks simpler. You sit at your own computer (the client) and connect once to your dev server, once to your production server, once to your test or database server, and manage each of them from the black screen of the terminal. If SSH is installed on both sides and you log in with a user and password or with a key, that terminal gives you control of the target server.
What an agent does with it
Inside that target server you can install anything: n8n, OpenClaw, Docker containers. For one client, Ariel set up four n8n containers so that each agent has its own.
Then the agent takes over the typing:
- On his own computer, Claude Code has a folder that knows how to connect to the server where his n8n lives. Whenever he wants something, Claude connects over SSH, adjusts n8n or sets up new automations, and Ariel just logs in to check that it works.
- He has a production server running a few small sites (the Bresleveloper AI site, this blog, a couple of apps and a landing page) that he almost never touches by hand. He connects through SSH and says: here is a new app, install it, set it up, make sure everything works, connect it to the domain. And the agent does it.
Users and permissions: “full control” means what you allow
When you connect, you choose which user to log in as, but only a user the target server allows. That is where your real control lives. On the server you define the user and exactly what it can do: in Linux that is very granular. Which programs can it run, which folders can it reach, and what can it do inside them: read, write, execute?
Ariel is honest about his own setup. On his small personal servers, the agents talk to each other as root, because they are small boxes with a few apps on them. On a “real” server it is different. On his production server he created a weak user with all the internal security tools around it, and the only thing it can do is reach his OpenClaw server over SSH, as a weak user on the other side too, with one tiny folder whose whole job is to drop alerts into a small database: “this happened on production, so you know”. That gives him active monitoring of the server without handing anyone the keys to it.
Password or key
There are two ways to connect:
- User and password. You set them on the target server and then hand them to your agent. The obvious problem: that password is now exposed. Someone could break into the agent, sniff the traffic, or find it some other way. So it is your job on the target server to limit that user’s permissions and to put monitoring in place: security tools that watch the server and check that everything is fine. On his personal computer Ariel runs SentinelOne, which watches the machine and shuts down anything suspicious.
- Keys. The more secure option. There is a key pair: a very, very long private key and a matching public key. In practice, the private key stays with you on the client, the server keeps the public key, and the server only grants access when the two match. The key is now the thing you must protect, the same way you protect a password, and the user it logs in as still needs tight permissions.
(For how keys and public/private encryption work in general, see the SaaS course from zero to 100. For more on locking a server down, see active AI security against a live attack.)
One agent per server
Once that works, a single OpenClaw can control four servers. If those servers need constant active attention and you do not want your main agent overloaded, create four extra agents or sub-agents, one per server. Each one gets a character that understands what you expect from its server and what must never happen there, and your main agent tells them what to do. Or use a platform like Discord, which is better built for managing many agents. Ariel shows his own: about 30 agents, each one knowing exactly what it is supposed to do in life. (For agents that run on their own schedule, see agents that work while you sleep.)
๐ฅ Roast Corner
Let’s review Ariel’s security posture as presented in this video. Step one: give an AI full shell access to your servers. Step two: on the small ones, let all the agents talk to each other as root, “because it’s small servers”. Step three: install SentinelOne on your laptop to keep you safe, then personally whitelist Claude Desktop “to play with it”, so the antivirus now wears a permanent red dot like a guard dog that has been told the burglar is family.
And then he teaches the class that the private key goes on the server and the public one comes from the client. Ariel, that is backwards, and it is the kind of backwards that only works because the agent setting up your keys knows better than you do. Which, honestly, is the whole thesis of this channel: the human explains the concept, the AI quietly fixes the implementation, and 30 agents in Discord pretend they did not notice.
๐ค AI for Humans
This lesson was about giving an AI access only to the exact things it should touch. The UK gynaecological cancer charity The Eve Appeal just did the health version of that. After finding that ChatGPT gave potentially dangerous answers, missing ovarian cancer as a possible cause of persistent bloating and suggesting irritable bowel syndrome tips instead, it launched Ask Eve Assist, a chatbot that answers only from the charity’s own expert-reviewed health information, certified with the PIF TICK quality mark.
It is available 24/7 on the charity’s website and covers gynae cancers, symptoms, investigations, screening, HPV, prevention and where to find support. With hundreds of thousands of women still on gynaecology waiting lists, it handles the simpler questions so the charity’s nurses have more time for the people who need them, and at any point you can ask to be referred to a nurse by call or email, so nobody gets stuck in a loop. A walled-off, permission-limited AI, in the place where wrong answers hurt the most. Source: Patient Information Forum.

๐ฌ Comments