[Android]3. Cách Kết nối vào Raspberry Pi 4 dùng SSH


1. Chuẩn bị bên host

Tải termux.apk để sử dụng terminal trên board tại đây https://termux.en.download.it/android

Tại host gõ 
adb install <path/to/termux.apk>


2. Cài đặt trên board

B1: Mở Termux app trên board

B2: Trong terminal của Termux gõ các command
pkg install root repo
pkg upgrade
pkg install termux-services
B3: Setup mật khẩu và start sshd
passwd
sshd

3. Kết nối ssh

B1: Kết nối cả host và board vào cùng 1 mạng
B2: Kết nối ssh, nhập mật khẩu và done
ssh <ip address of android device> -p 8022






Đăng nhận xét

0 Nhận xét