replace tcpsvd with nc, no need to recompile busybox

master
Chakib Benziane 5 years ago
parent a9fe628450
commit b1cbe870d6

@ -1,6 +1,5 @@
## Requirements
- Rebuild busybox on debian with `CONFIG_TCPSVD=y`
- Uninstall dropbear if previously installed
- Add scripts in `/etc/initramfs-tools`
- Add `authorized_keys` to `/etc/tinyssh-initramfs/authorized_keys` (only ssh-ed25519)

@ -32,7 +32,7 @@ run_tinyssh() {
# init-bottom script to kill the remaining ipconfig processes if
# someone unlocks the rootfs from the console while the network is
# being configured
exec /bin/tcpsvd 0 $ssh_port /usr/sbin/tinysshd -$flags ${TINYSSH_OPTIONS-} /etc/tinyssh/sshkeydir
exec /bin/nc -ll -p $ssh_port -e /usr/sbin/tinysshd -$flags ${TINYSSH_OPTIONS-} /etc/tinyssh/sshkeydir
}
if [ -e /etc/tinyssh/config ]; then

Loading…
Cancel
Save