我@嘉義
120 字
1 分鐘
【雜記】Termux
遷移自 HackMD
Termux Widget

- Download Termux
installation apk from Termux GitHub Release Page - Install the apk
# at Termux ~/mkdir .shortcutschmod 700 -R .shortcuts/- Then move the desired scripts into the
.shortcuts/folder - (At Android Home Page) Create a widget
- The scripts should show on the widget list (as shown above)
改字型
cp <the ttf chosen> ~/.termux/font.ttfESC Key
Editing ~/.termux/termux.properties
#...# Back Keyback-key=escape#...Login Script and MOTD(Message of Today)
~/../usr/etc/motd~/../usr/etc/termux-login.sh
Host sshd Service
HOSTING
passwd # 設定termux的密碼(如果已設定則可略過)pkg install opensshsshdCONNECTING FROM CLIENT 不像一般的sshd埠號開放22,Termux對外開放的埠固定為8022。
ssh u0_a256@<IP_ADDR> -p 8022