mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 01:32:47 +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 ""
|
cat /dev/zero | ssh-keygen -f /root/.ssh/so.key -t rsa -q -N ""
|
||||||
chown -R $SUDO_USER:$SUDO_USER /root/.ssh
|
chown -R $SUDO_USER:$SUDO_USER /root/.ssh
|
||||||
#Copy the key over to the master
|
#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