mirror of
https://github.com/elAgala/server-initializer.git
synced 2026-02-13 21:06:16 +00:00
444c8d5c1f01fd9a29e7a8b66c98ab04a0e58cc0
server-initializer
Installation
export ADMIN_SSH_KEY='ssh-ed25519 AAAA...'
export DEPLOY_SSH_KEY='ssh-ed25519 AAAA...'
curl -fsSL https://raw.githubusercontent.com/elAgala/server-initializer/main/index.sh | bash -s <username>
Or remotely via SSH:
ssh root@<host> "ADMIN_SSH_KEY='ssh-ed25519 AAAA...' DEPLOY_SSH_KEY='ssh-ed25519 AAAA...' bash -c '\$(curl -fsSL https://raw.githubusercontent.com/elAgala/server-initializer/main/index.sh)' -- <username>"
Included
- Server update
- User creation
- SSH key configuration (AllowUser, disable root login)
Description
Languages
Shell
85.8%
Makefile
10%
Dockerfile
4.2%