Skip to content

Commit

Permalink
Merge pull request #104 from kescherCode/master-1
Browse files Browse the repository at this point in the history
Use own authorized_keys file instead of usual system's authorized_keys
  • Loading branch information
Andrei-Pozolotin authored Oct 1, 2023
2 parents 180ed37 + 69fe88d commit b7d6ca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/initrd-shell.service
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ InitrdBuild=/usr/lib/mkinitcpio-systemd-tool/initrd-build.sh command=do_root_she
InitrdBuild=/usr/lib/mkinitcpio-systemd-tool/initrd-build.sh command=do_secret_clean

# include ssh credentials
InitrdPath=/root/.ssh/authorized_keys source=/root/.ssh/authorized_keys mode=600
InitrdPath=/root/.ssh/authorized_keys source=/etc/mkinicpio-systemd-tool/config/authorized_keys mode=600

# override system actions
InitrdLink=/usr/bin/halt target=/usr/bin/systemctl
Expand Down

0 comments on commit b7d6ca5

Please sign in to comment.