mirror of
https://github.com/elAgala/server-initializer.git
synced 2026-02-14 05:06:18 +00:00
fix: make ssh keys required
This commit is contained in:
@@ -3,13 +3,15 @@
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
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:
|
||||
|
||||
```bash
|
||||
ssh root@<host> "curl -fsSL https://raw.githubusercontent.com/elAgala/server-initializer/main/index.sh | bash -s <username>"
|
||||
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>"
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user