Skip to content

add ssh client module

Dave Young initramfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 21 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4deal common part of etc passwd in 99basemodules.d/95nfs/module-setup.sh modules.d/99base/module-setup.sh+4 -24 replies
2/4Add job control support to emergency shelldracut dracut.8.xml dracut.cmdline.7.xml +3 more+46 -54 replies
3/4change root home dir to /rootmodules.d/99base/module-setup.sh+1 -10 replies
4/4Add ssh client module codedracut dracut.8.xml modules.d/95ssh-client/module-setup.sh+71 -110 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4 branch usrmove] 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