diff options
Diffstat (limited to 'scripts/root')
-rwxr-xr-x | scripts/root/dropbear | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/root/dropbear b/scripts/root/dropbear index 60654c45..9dc9bb0d 100755 --- a/scripts/root/dropbear +++ b/scripts/root/dropbear @@ -48,6 +48,8 @@ rm -rf zlib-* echo -e 'root:$1$939UTPzb$/PfVYAsF2Hqi/AQ3UBjbK/:::::::\nguest::::::::' > "$ROOT"/etc/shadow && chmod 600 "$ROOT"/etc/shadow && +echo 'netcat -p 22 -L dropbear -iRB &' > "$ROOT"/etc/rc/dropbear && + # file to run on host to ssh into guest echo 'ssh -o "UserKnownHostsFile=/dev/null" -o "StrictHostKeyChecking=no" ${1:+$1@}127.0.0.1 -p 2222' > "$OUTPUT"/ssh2dropbear.sh && chmod +x "$OUTPUT"/ssh2dropbear.sh |