ssh-keygen for dropbear ssh Topic is solved

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
mail2rst
Posts: 110
Joined: Fri Apr 13, 2018 4:53 pm

ssh-keygen for dropbear ssh

Post by mail2rst »

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
User avatar
Joulinar
Posts: 4783
Joined: Sat Nov 16, 2019 12:49 am

Re: ssh-keygen for dropbear ssh

Post by Joulinar »

Hi,

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

Code: Select all

dietpi-software install 0
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
mail2rst
Posts: 110
Joined: Fri Apr 13, 2018 4:53 pm

Re: ssh-keygen for dropbear ssh

Post by mail2rst »

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