mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 02:02:50 +01:00
Setup Script - Salt Key rework
This commit is contained in:
@@ -43,8 +43,7 @@ accept_salt_key_local() {
|
|||||||
|
|
||||||
accept_salt_key_remote() {
|
accept_salt_key_remote() {
|
||||||
# Accept the key
|
# Accept the key
|
||||||
SSHCOMMANDS='sudo salt-key -ya $HOSTNAME'
|
ssh -i ~/.ssh/so.key socore@$MSRV sudo salt-key -a $HOSTNAME -y
|
||||||
ssh -i ~/.ssh/so.key socore@$MSRV < $SSHCOMMANDS
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user