add ssh client module
cover add ssh client module
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
Quoted 5 lines · Dave Young
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?
Quoted 3 lines
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.
Quoted 8 lines · Cong Wang
Quoted 5 lines · Dave Young
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.
Quoted 10 lines
Quoted 4 lines
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.
Quoted 11 lines
my tree is located at:
git://github.com/congwang/dracut.git#kdumpThanks.
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 2 lines
Thanks Dave
Quoted 9 lines · Dave Young
Quoted 7 lines · Cong Wang
Quoted 5 lines · Dave Young
Hi,
This is a ssh-client module for dracut. The first user could be kdump because kdump need to scp vmcore to remote machine.
Quoted 6 lines
Quoted 1 line
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.