SSH authorized_keys command restriction to isolate container access to host functions
Preview
This post documents how you can use a lesser known authorized_keys config to give AI agents (or anything else) programmatically designed and limited access to any resources and tools on a different system, for example the system hosting the agent container.
See the ssh-restricted-dispatcher github repo for code to set this up yourself.
Background
I have been experimenting with different AI agent setups on a hobby Linux server at home.