On Sun, Aug 17, 2008 at 10:37 PM, David Härdeman <[EMAIL PROTECTED]> wrote: > Where does the SSH server get the passwords/keyfiles from?
On the ramdisk Dropbear SSH server is used, to preserve space. For the host files there are three options: 1) OpenSSH is used on the host machine, OpenSSH's host keys are converted to Dropbear format and copied to the ramdisk. 2) Dropbear is used on the host machine, Dropbear's host keys are copied to the ramdisk. 3) Neither OpenSSH or Dropbear is used on the host machine and no host keys exist, Dropbear host keys are generated and copied to the ramdisk. Concerning key files, root's authorized_keys are copied to ramdisk if they exist. Riku Voipio has verified that both OpenSSH and Dropbear use the same key format for RSA keys. > Does it put /etc/shadow in the initramfs? Only if root doesn't have any authorized_keys, and in that case only root's entry(!) is put on the ramdisk. -- Per -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]