mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Setup Script - Fix SSH multiple logins
This commit is contained in:
@@ -142,7 +142,7 @@ copy_ssh_key() {
|
||||
cat /dev/zero | ssh-keygen -f /root/.ssh/so.key -t rsa -q -N ""
|
||||
chown -R $SUDO_USER:$SUDO_USER /root/.ssh
|
||||
#Copy the key over to the master
|
||||
ssh-copy-id -v -f -i /root/.ssh/so.key socore@$MSRV
|
||||
ssh-copy-id -f -i /root/.ssh/so.key socore@$MSRV
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user