On 12/23/2011 07:17 PM, Alan Pevec wrote: > On Fri, Dec 23, 2011 at 9:04 AM, Dave Young <dyoung@xxxxxxxxxx> wrote: >> with --sshkey option you can provide the ssh key to be installed >> >> Usage: >> 1. sshkey mode: >> transfer your public key to remote machine with ssh-copy-id or do it mannaully >> example of options: >> ./dracut -l -H -a ssh-client --sshkey /root/.ssh/id_rsa i.img > ... >> + # Copy over ssh key and knowhosts if needed >> + [[ $sshkey ]] && { >> + inst $sshkey > > This means value for sshkey option must include /root/.ssh/ otherwise > it won't end up in the correct place inside initramfs? Thanks for your comment. Yes sshkey will be installed to same location as the param specified, For kdump we will use an option SSH_KEY_LOCATION which is defined in kdump.conf, by default it is /root/.ssh/kdump_id_rsa. In initrd we will use ssh -i SSH_KEY_LOCATION to connect to remote machine -- Thanks Dave -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html