From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cong Wang Subject: Re: [PATCH 4/4 branch usrmove] Add ssh client module code Date: Sun, 25 Dec 2011 11:57:12 +0000 (UTC) Message-ID: References: <20111223080430.GA12670@darkstar.nay.redhat.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Sender: initramfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" To: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org On Fri, 23 Dec 2011 at 08:04 GMT, Dave Young wrote: > Add ssh-client module, which support ssh key mode and interactive mode. > 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 > 2. interactive mode: > need use --ctty option, ie.: > ./dracut -l -H -a ssh-client --ctty i.img Seems --sshkey and --ctty are only for ssh-client module, so, what if the user specifies -sshkey or --ctty but doesn't use ssh-client module?