All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4 branch usrmove] add ssh client module
@ 2011-12-23  8:04 Dave Young
  2011-12-25 12:11 ` Cong Wang
  0 siblings, 1 reply; 4+ messages in thread
From: Dave Young @ 2011-12-23  8:04 UTC (permalink / raw)
  To: initramfs-u79uwXL29TY76Z2rM5mHXA, soltys-R61QfzASbfY

Hi,

This is a ssh-client module for dracut. The first user could be kdump
because kdump need to scp vmcore to remote machine.

But It will benifit if it become an general module. Sometimes user need
an initrd which simply act as an emregency minimal ramdisk for test or
recovery use.

Currently it support both sshkey mode and interactive mode. With sshkey
mode user can precopy the key to remote machine and install sshkey to initrd.
With interactive mode user can drop into an emergency shell and ssh into
remote machine interactively.

For the interactive mode, due to there's no control tty for emergency shell,
so I add this feature based on Michal Soltys's "shell job control" patches, 

I rebased his patch to usrmove branch of Harald, post along with ssh patches

--
Thanks dave

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/4 branch usrmove] add ssh client module
  2011-12-23  8:04 [PATCH 0/4 branch usrmove] add ssh client module Dave Young
@ 2011-12-25 12:11 ` Cong Wang
  2011-12-26  2:07   ` Dave Young
  0 siblings, 1 reply; 4+ messages in thread
From: Cong Wang @ 2011-12-25 12:11 UTC (permalink / raw)
  To: initramfs-u79uwXL29TY76Z2rM5mHXA

On Fri, 23 Dec 2011 at 08:04 GMT, Dave Young <dyoung-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote:
> Hi,
>
> This is a ssh-client module for dracut. The first user could be kdump
> because kdump need to scp vmcore to remote machine.
>

Nitpick: why not call it "ssh" module instead of "ssh-client" module?

>
> I rebased his patch to usrmove branch of Harald, post along with ssh patches
>

I will pick your patches into my tree, because:

1) So that we can test them as a whole
2) Both your patches and mine are mainly for kdump
3) Harald is on vacation these days

my tree is located at:

  git://github.com/congwang/dracut.git #kdump

Thanks.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/4 branch usrmove] add ssh client module
  2011-12-25 12:11 ` Cong Wang
@ 2011-12-26  2:07   ` Dave Young
       [not found]     ` <4EF7D6F8.2040909-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Dave Young @ 2011-12-26  2:07 UTC (permalink / raw)
  To: Cong Wang; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA

On 12/25/2011 08:11 PM, Cong Wang wrote:

> On Fri, 23 Dec 2011 at 08:04 GMT, Dave Young <dyoung-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote:
>> Hi,
>>
>> This is a ssh-client module for dracut. The first user could be kdump
>> because kdump need to scp vmcore to remote machine.
>>
> 
> Nitpick: why not call it "ssh" module instead of "ssh-client" module?


ssh-client is better, maybe future there will be ssh-server come in.
In debian they are also two different packages.

> 
>>
>> I rebased his patch to usrmove branch of Harald, post along with ssh patches
>>
> 
> I will pick your patches into my tree, because:
> 
> 1) So that we can test them as a whole
> 2) Both your patches and mine are mainly for kdump
> 3) Harald is on vacation these days


Feel free to do it.

> 
> my tree is located at:
> 
>   git://github.com/congwang/dracut.git #kdump
> 
> Thanks.
> 
> --
> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/4 branch usrmove] add ssh client module
       [not found]     ` <4EF7D6F8.2040909-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2011-12-26  4:53       ` Cong Wang
  0 siblings, 0 replies; 4+ messages in thread
From: Cong Wang @ 2011-12-26  4:53 UTC (permalink / raw)
  To: Dave Young; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA

On Mon, Dec 26, 2011 at 10:07 AM, Dave Young <dyoung-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote:
> On 12/25/2011 08:11 PM, Cong Wang wrote:
>
>> On Fri, 23 Dec 2011 at 08:04 GMT, Dave Young <dyoung-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote:
>>> Hi,
>>>
>>> This is a ssh-client module for dracut. The first user could be kdump
>>> because kdump need to scp vmcore to remote machine.
>>>
>>
>> Nitpick: why not call it "ssh" module instead of "ssh-client" module?
>
>
> ssh-client is better, maybe future there will be ssh-server come in.
> In debian they are also two different packages.
>

Ok, makes sense, it is better to put this into the patch description.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-12-26  4:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-23  8:04 [PATCH 0/4 branch usrmove] add ssh client module Dave Young
2011-12-25 12:11 ` Cong Wang
2011-12-26  2:07   ` Dave Young
     [not found]     ` <4EF7D6F8.2040909-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2011-12-26  4:53       ` Cong Wang

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.