Creating a bug report/issue
Required Information
- DietPi version |
G_DIETPI_VERSION_CORE=10 G_DIETPI_VERSION_SUB=1 G_DIETPI_VERSION_RC=2 G_GITBRANCH='master' G_GITOWNER='MichaIng'
- Distro version |
bookworm 0
- Kernel version |
Linux DietPi 6.12.62+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.12.62-1+rpt1~bookworm (2026-01-19) aarch64 GNU/Linux
- SBC model |
RPi 4 Model B (aarch64)
- Power supply used | Raspberry Pi 4 official power supply
- SD card used | Raspberry Pi micro SD
Additional Information (if applicable)
- Software title | ssh-agent
- Was the software title installed freshly or updated/migrated? Installed freshly
- Can this issue be replicated on a fresh installation of DietPi?
- Bug report ID |
echo $G_HW_UUID
Steps to reproduce
- Install OpenSSH and Fish using
dietpi-software (to replicate my setup)
- Create an SSH key using this command:
ssh-keygen -t ed25519 -C "Dotfiles - DietPi" -f ~/.ssh/dotfiles-dietpi
- Copy and paste the key into the GitHub
SSH and GPG settings
- Verify the connection using:
ssh -T git@github.com
Expected behaviour
- The connection to GitHub should succeed without any error messages.
Actual behaviour
- The following error appears:
git@github.com: Permission denied (publickey).
Extra details
- I was able to temporarily solve the issue by manually starting the SSH agent and adding the key with these commands (using the Fish shell):
eval (ssh-agent -c)
ssh-add ~/.ssh/dotfiles-dietpi
- However, this workaround does not persist after a reboot.
I would like to know whether this behavior is expected or if it might be a bug. Additionally, what is the recommended way to ensure that the SSH agent starts automatically and loads my key after every reboot?
Creating a bug report/issue
Required Information
G_DIETPI_VERSION_CORE=10 G_DIETPI_VERSION_SUB=1 G_DIETPI_VERSION_RC=2 G_GITBRANCH='master' G_GITOWNER='MichaIng'bookworm 0Linux DietPi 6.12.62+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.12.62-1+rpt1~bookworm (2026-01-19) aarch64 GNU/LinuxRPi 4 Model B (aarch64)Additional Information (if applicable)
echo $G_HW_UUIDSteps to reproduce
dietpi-software(to replicate my setup)ssh-keygen -t ed25519 -C "Dotfiles - DietPi" -f ~/.ssh/dotfiles-dietpiSSH and GPGsettingsssh -T git@github.comExpected behaviour
Actual behaviour
git@github.com: Permission denied (publickey).Extra details
I would like to know whether this behavior is expected or if it might be a bug. Additionally, what is the recommended way to ensure that the SSH agent starts automatically and loads my key after every reboot?