From b7317b563674fbe32d82f78ee47927cd4cb2ea59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Janou=C5=A1ek?= Date: Wed, 17 Apr 2019 20:52:23 +0200 Subject: [PATCH] limit dropbear listening to localhost Since UserLAnd (as opposed to Termux) requires users to enter a password on their touchscreen every time they start a session, many (including me) use a trivial password. Therefore it's a very bad idea to make the session accessible from whatever wireless network the phone is currently connected to. --- assets/all/startSSHServer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/all/startSSHServer.sh b/assets/all/startSSHServer.sh index 2dfd5fa..6127f38 100644 --- a/assets/all/startSSHServer.sh +++ b/assets/all/startSSHServer.sh @@ -9,4 +9,4 @@ if [ ! -f /support/.ssh_setup_complete ]; then touch /support/.ssh_setup_complete fi -dropbear -E -p 2022 +dropbear -E -p 127.0.0.1:2022