Kordon on a server and in the terminal
kordon run - a kill switch for one command: an agent, a script or a bot on a VPS
Protect one command
kordon run -- claude -p "fix the tests"
The command follows Kordon's rules:
- wrong address - the command and everything it started pause;
- the right address is back in time - they carry on;
- it isn't - the command stops, kordon run exits with code 75;
- wrong address at start - the command doesn't start, code 69.
Allow the VPN first: kordon allow or kordon allow NL. If the server signed in with Telegram (kordon login), the bot reports pauses and stops.
Main commands
kordon status address, country and state kordon allow allow the current address kordon allow NL allow a country kordon config path to the settings file kordon autostart on turn autostart on kordon update install the latest version kordon headless run without the icon kordon login sign in with Telegram
On Mac the command is inside the app: /Applications/Kordon.app/Contents/MacOS/kordon. On Windows - %LOCALAPPDATA%\Programs\Kordon\kordon.exe.
The settings file
All settings live in one commented config.yaml. Kordon picks up changes by itself, no restart. kordon config shows the path.