Opengist

Explore

  • All gists
  • Topics
  • Users
Give feedback on the new UI Powered by Opengist ⋅ 137ms

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Login

All gists

All Recently liked Recently forked
Recently created Least recently created Recently updated Least recently updated
ergosteur

ergosteur / create-agent-user.sh

Last active 24 minutes ago

Synced from claude-config/scripts/create-agent-user.sh — do not edit directly, changes are overwritten on the next sync.

0 0 1
1 #!/usr/bin/env bash
2 #
3 # create-agent-user.sh
4 # -----------------------------------------------------------------------------
5 # Provision a local `agent-user` account on a Linux host so an AI agent can be
6 # handed full (sudo) access to the machine over SSH.
7 #
8 # What it does, in order:
9 # 1. Refuses to run unless invoked as root and an SSH server is running.
10 # 2. Detects the distro family (Debian/Ubuntu, Fedora/RHEL, Arch/CachyOS).
ergosteur

ergosteur / test

Last active 48 minutes ago

test gist

0 0 1
1 hello internet