mirror of
https://github.com/moparisthebest/mailiverse
synced 2024-11-14 21:25:05 -05:00
13 lines
336 B
Plaintext
Executable File
13 lines
336 B
Plaintext
Executable File
if [ -z "$1" ]; then echo "Must supply name"; exit 0; fi
|
|
|
|
set -x
|
|
source requirements/server_root_account
|
|
|
|
M_HOST=$1
|
|
|
|
scp requirements/id_rsa.pub $M_ROOT@$M_HOST:authorized_keys
|
|
scp create-server-accounts.remote $M_ROOT@$M_HOST:
|
|
scp create-server-account-user.remote $M_ROOT@$M_HOST:
|
|
ssh $M_ROOT@$M_HOST ./create-server-accounts.remote
|
|
|