1
0
mirror of https://github.com/PrivSec-dev/privsec.dev synced 2024-11-09 08:21:32 -05:00

Update file path for Proxmox 8

This commit is contained in:
Tommy 2023-07-26 15:00:38 -07:00 committed by GitHub
parent 6427f84ea6
commit 7226a9c72f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -121,9 +121,9 @@ First, install the `dropbear-initramfs` package. Note that we are passing the `-
apt install --no-install-recommends dropbear-initramfs apt install --no-install-recommends dropbear-initramfs
``` ```
Next, create `/etc/dropbear-initramfs/authorized_keys` and put your ssh keys in there. Next, create `/etc/dropbear/initramfs/authorized_keys` and put your ssh keys in there.
You may also edit `/etc/dropbear-initramfs/config` and adjust it however you like. You can find the list of the options [here](https://linux.die.net/man/8/dropbear). In my opinion, the default is good enough. Some other blog posts may recommend that you change the port to avoid the ssh fingerprint mismatch warning, but I would recommend using a different subdomain to connect to dropbear instead. That way, you can pin Dropbear's fingerprint with SSHFP records. I will write a separate post on this later. You may also edit `/etc/dropbear/initramfs/dropbear.conf` and adjust it however you like. You can find the list of the options [here](https://linux.die.net/man/8/dropbear). In my opinion, the default is good enough. Some other blog posts may recommend that you change the port to avoid the ssh fingerprint mismatch warning, but I would recommend using a different subdomain to connect to dropbear instead. That way, you can pin Dropbear's fingerprint with SSHFP records. I will write a separate post on this later.
Then, edit the `/etc/initramfs-tools/initramfs.conf` and add the static IP address for it to use. The format is Then, edit the `/etc/initramfs-tools/initramfs.conf` and add the static IP address for it to use. The format is