johnandersen777.bsky.social/atlibs-socialweb-computer-requester
socialweb.computer market requester and policy modules for atlibs, with its web pages and lexicons
0
0
#cloud-config
{
"packages": [
"openssh-server"
],
"disable_root": false,
"ssh_pwauth": false,
"write_files": [
{
"path": "/root/.ssh/authorized_keys",
"owner": "root:root",
"permissions": "0600",
"content": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIExample me@host\n"
},
{
"path": "/etc/ssh/sshd_config.d/10-iroh.conf",
"owner": "root:root",
"permissions": "0644",
"content": "PermitRootLogin prohibit-password\nPasswordAuthentication no\n"
},
{
"path": "/etc/socialweb-guest-agent/services.json",
"owner": "root:root",
"permissions": "0644",
"content": "{\"shell\":{\"unix\":\"/run/socialweb-guest-agent/shell.sock\"}}\n"
},
{
"path": "/etc/socialweb-guest-agent/tunnels.json",
"owner": "root:root",
"permissions": "0644",
"content": "{\"tunnels\":[{\"tag\":\"shell\",\"unix\":\"/run/socialweb-guest-agent/shell.sock\"},{\"tag\":\"ssh\",\"port\":22}]}\n"
}
],
"runcmd": [
"systemctl enable --now --no-block ssh || systemctl enable --now --no-block sshd"
]
}