View Single Post
Old 07-11-2012, 01:37 PM   #13
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@sunnydev: The USBNet hack ships with pre-generated server keys on the K3, because the CPU is so tiny that it would take a noticeable amount of time to generate them during setup.
(And OpenSSH's ssh-keygen was broken on the K3 when I did my initial implementation [but that just might have been because of an LTO issue]. Anyway, it's not shipped with USBNet.).

(FWIW: The dropbear keys are the same as ebs' original implementation from back in the FW 2.x days, and I generated the OpenSSH keys myself with OpenSSH-6.0_p1 especially for USBNet. On the other hand, on the K4 & Touch, the vanilla dropbear supports *does* generated server keypairs on first boot).

On the K3: They're in /mnt/us/usbnet/etc (2 for dropbear, 3 for OpenSSH).

So, yes, if you switch from dropbear to OpenSSH, the fingerprint *will* change, they use different keys

1. Do it from a proper Linux host, it'll be faster (and, as I said, ssh-keygen isn't shipped with the hack, so that leaves you only with dropbear's keygen).

2. See the files in /mnt/us/usbnet/etc (The server doesn't need the public key, so they're not shipped with USBNet).

3. See #2.

Last edited by NiLuJe; 07-11-2012 at 01:49 PM.
NiLuJe is offline   Reply With Quote