diff --git a/android/.shortcuts/1sshd.sh b/android/.shortcuts/1sshd.sh index d188a88..45958f3 100644 --- a/android/.shortcuts/1sshd.sh +++ b/android/.shortcuts/1sshd.sh @@ -1,5 +1,9 @@ #!/data/data/com.termux/files/usr/bin/bash /data/data/com.termux/files/usr/bin/sshd + +echo "Connect at these IPs at port 8022" +ifconfig 2> /dev/null | grep -Eo 'inet (addr:)?([0-9]*\.){3}[0-9]*' | grep -Eo '[0-9.]*' + echo "We need to pause this or the sshd will be killed with Termux." read -p "press enter to continue"