mirror of
https://github.com/phusion/baseimage-docker.git
synced 2026-03-26 12:29:07 +00:00
do not remove already installed private keys when installing the secure key
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user