mirror of
/repos/baseimage-docker.git
synced 2025-12-30 08:01:31 +01:00
do not remove already installed private keys when installing the secure key
This commit is contained in:
parent
3eec5201da
commit
7bd55402b0
@ -12,6 +12,6 @@ else
|
|||||||
chmod 700 "$DIR"
|
chmod 700 "$DIR"
|
||||||
chown root:root "$DIR"
|
chown root:root "$DIR"
|
||||||
echo "Editing $AUTHORIZED_KEYS..."
|
echo "Editing $AUTHORIZED_KEYS..."
|
||||||
cat /etc/insecure_key.pub > "$AUTHORIZED_KEYS"
|
cat /etc/insecure_key.pub >> "$AUTHORIZED_KEYS"
|
||||||
echo "Success: insecure key has been added to $AUTHORIZED_KEYS"
|
echo "Success: insecure key has been added to $AUTHORIZED_KEYS"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user