mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Setup Script - Specify SSH key
This commit is contained in:
@@ -112,9 +112,9 @@ configure_sensor_pillar() {
|
|||||||
|
|
||||||
copy_ssh_key() {
|
copy_ssh_key() {
|
||||||
# Generate and copy SSH key
|
# Generate and copy SSH key
|
||||||
cat /dev/zero | ssh-keygen -t rsa -q -N ""
|
cat /dev/zero | ssh-keygen -f /root/so.key -t rsa -q -N ""
|
||||||
#Copy the key over to the master
|
#Copy the key over to the master
|
||||||
ssh-copy-id socore@$MASTER
|
ssh-copy-id -i /root/so.key socore@$MASTER
|
||||||
}
|
}
|
||||||
|
|
||||||
create_bond() {
|
create_bond() {
|
||||||
|
|||||||
Reference in New Issue
Block a user