10 lines
320 B
Bash
10 lines
320 B
Bash
#!/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"
|