mirror of
https://github.com/elAgala/server-initializer.git
synced 2026-02-14 05:06:18 +00:00
21746499fe9a398adfe64b6d9532313b6bb6c4b5
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> \
"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>"
Included
- Server update
- User creation
- SSH key configuration (AllowUser, disable root login)
Description
Languages
Shell
85.8%
Makefile
10%
Dockerfile
4.2%