Skip to content

Commit

Permalink
Explicitly remove authorized_keys
Browse files Browse the repository at this point in the history
  • Loading branch information
viktor-ribchev committed Nov 9, 2023
1 parent 70fbfb4 commit d217a21
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions files/install_graphdb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,6 @@ mv /tmp/graphdb.service /lib/systemd/system/graphdb.service
systemctl daemon-reload
systemctl enable graphdb.service
systemctl start graphdb.service

# Shred authorized_keys
shred -u /root/.ssh/authorized_keys /home/packer/.ssh/authorized_keys || true

0 comments on commit d217a21

Please sign in to comment.