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