Cannot ssh unlock dropbear_initrd_encrypt

Problems with packages? Post here, using [tags] of the package name.

Cannot ssh unlock dropbear_initrd_encrypt

Postby Gerhman » Sat Feb 08, 2014 8:31 pm

I read the post https://gist.github.com/pezz/5310082 and got my drive encrypted but I simply cannot get the remote unlock thing to work. On Putty (in Windows) it tells me that the server refused my key and then asks for the password of root. When trying ssh from my Arch desktop it just asks for the root password directly. I have tried every tutorial I could find on getting my public key into that root_key file correctly but nothing has worked. How can I get this working, isn't there a way that I can just define a login password instead of the key mechanism?

PS. This is on a Rapberry Pi
Gerhman
 
Posts: 3
Joined: Sat Feb 08, 2014 8:07 pm

Re: Cannot ssh unlock dropbear_initrd_encrypt

Postby WarheadsSE » Sun Feb 09, 2014 12:05 am

cp id_rsa.pub /etc/dropbear_root_key ?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Cannot ssh unlock dropbear_initrd_encrypt

Postby Gerhman » Sun Feb 09, 2014 6:29 am

WarheadsSE can explain a but more please?
Gerhman
 
Posts: 3
Joined: Sat Feb 08, 2014 8:07 pm

Re: Cannot ssh unlock dropbear_initrd_encrypt

Postby WarheadsSE » Sun Feb 09, 2014 3:26 pm

Every peice of documentation states very simply to place the public key file (id_rsa.pub) as /etc/dopbear_root_key.
Hence:
cp - copy
id_rsa.pub - public key file
/etc/dropbear_rookey - dropbear root (public) key file.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Cannot ssh unlock dropbear_initrd_encrypt

Postby Gerhman » Sun Feb 09, 2014 5:25 pm

Ok for some reason after copying my key again it has started working.
Gerhman
 
Posts: 3
Joined: Sat Feb 08, 2014 8:07 pm


Return to Packages

Who is online

Users browsing this forum: No registered users and 22 guests