Quote:
Originally Posted by NiLuJe
@wings: I can't remember the state of the docs on that subject, but it's basically the same as on any other OpenSSH/Dropbear system, and there are a large amount of tutorials available on that subject (we might even have some tailored to the Kindle world in the Kindle Dev forum), the only difference is the location of the authorized_keys file (something that should be specified somewhere in the first post).
Granted, on Windows, you may have to jump through a bunch of extra hoops because of reasons (mostly, PuTTy using a different format for key pairs). Once that's taken care of, FileZilla handles PuTTY's ssh-agent (Pageant) transparently (and WinSCP might, too, can't remember).
Spoiler alert: if you have no other use for it, setting up an ssh-agent on Windows may be a tiny bit overkill, and/or more trouble than it's worth.
(Especially in this specific instance where you don't actually have to remember a password, since the ssh server is patched to let anything in).
|
Hi NiLuJe, I will follow you advice in the spoiler, won't touch the shared key settings in windows.
There's no demand of using the shared key auth, I'm just wondering how it works.
There's my guess:
1. Make a pairs of keys by puttygen
2. Copy the public key to dropbear, though I really has no idea about how to do that.
I guess the public key need to be put in 'usr/local/niluje/usbnet/etc'. However, The public key puttygen made seems an ascii file while the key files in usr/local/niluje/usbnet/etc seem in binary format. And, I only has one public key, but there are three key files, dss/rsa/ecdsa_host_key, in the usr/local/niluje/usbnet/etc!
3. Config the winscp+pageant to work with the private key.
Don't laugh at my guess if it's incorrect.