ssh-keygen for dropbear ssh

Hi,
I want to install Borgbackup “apt install borgbackup” for automatic backup at cloud storage. I have installed borg correctly,

now for ssh key authorization, i have to generate keys for my dietpi powered NUC. only after keys i will automatically connect to cloud server. when i give this command system told me command not found

“ssh-keygen -t rsa -b 4096”

root@DietPi:~# ssh-keygen -t rsa -b 4096 bash: ssh-keygen: command not found
please guide me how i can generate authorization key for my system for next step. In my setup with dietpi software only,
#dropbear, #proftpd, #Docker, Docker Compose installed & now with genetic installation #borgbackup
thanks

Hi,

you would need to install the OpenSSH Client (ID 0) package the have ssh-keygen command available

dietpi-software install 0
1 Like

thanks Joulinar, with your instruction i am able to create authentication keys & able to connect cloud storage via them. thanks