All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Young <dyoung-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Michal Soltys <soltys-R61QfzASbfY@public.gmane.org>
Cc: Cong Wang
	<xiyou.wangcong-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 4/4 branch usrmove] Add ssh client module code
Date: Mon, 26 Dec 2011 10:13:05 +0800	[thread overview]
Message-ID: <4EF7D831.4050701@redhat.com> (raw)
In-Reply-To: <4EF7D46F.2030908-R61QfzASbfY@public.gmane.org>

On 12/26/2011 09:57 AM, Michal Soltys wrote:

> On 11-12-25 12:57, Cong Wang wrote:
>> On Fri, 23 Dec 2011 at 08:04 GMT, Dave Young<dyoung-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>  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?
> 
> For the record - ctty part was meant as a general feature - tty with
> control is pretty useful thing to have - and pretty trivial to add, so
> why not.
> 
> Though the patches I made earlier also included a few other things,
> dunno what's the state of them (probably none ;) ). HEAD differs
> significantly by now, so maybe I should redo them as v2.


Michal, my ssh module is based on usrmove branch of below:
git clone -b usrmove git://git.surfsite.org/pub/git/dracut.git

This branch is intend for some work of generic --mount option which can
benefit /usr mount and kdump target mount

So maybe this branch is different with HEAD as well, how about just keep
your patch align with usrmove branch?

> 
> 
> -- 
> To unsubscribe from this list: send the line "unsubscribe initramfs" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Thanks
Dave

  parent reply	other threads:[~2011-12-26  2:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-23  8:04 [PATCH 4/4 branch usrmove] Add ssh client module code Dave Young
     [not found] ` <20111223080430.GA12670-4/PLUo9XfK+sDdueE5tM26fLeoKvNuZc@public.gmane.org>
2011-12-23 11:17   ` Alan Pevec
     [not found]     ` <CAGi==UVyoOjY3vFJ2RbCmYZOkdfQMFYXAr_5JXEeb45i9wQTHg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-12-26  1:52       ` Dave Young
2011-12-25 11:57 ` Cong Wang
2011-12-26  1:57   ` Michal Soltys
     [not found]     ` <4EF7D46F.2030908-R61QfzASbfY@public.gmane.org>
2011-12-26  2:13       ` Dave Young [this message]
2011-12-26  5:09       ` Cong Wang
2011-12-26  2:03   ` Dave Young
     [not found]     ` <4EF7D604.9080500-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2011-12-26  2:22       ` Dave Young
2011-12-26  5:06       ` Cong Wang
     [not found]         ` <CAM_iQpVonkSXUDhVyrFiqam2Rgtogzt=FYSn1-q8h1uE6BTvPw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-12-26  5:26           ` Dave Young

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EF7D831.4050701@redhat.com \
    --to=dyoung-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=soltys-R61QfzASbfY@public.gmane.org \
    --cc=xiyou.wangcong-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.