ubuntu连接手机的方法

SSHDroid 是个SSH Server for Android设备。该应用可以让你通过PC或命令连接android

Connect through SSH to your device!

SSHDroid is a SSH server implementation for Android.
This application will let you to connect to your device from a PC and execute commands (like "terminal" and "adb shell") or edit files (through SFTP, WinSCP, Cyberduck, etc...).

Root is optional(可选的) but not required to run this application.

ubuntu下使用命令(手机和电脑在同一wifi网络下)

ssh -p 22 root@192.168.2.100(这个是手机的ip地址)

password:admin

原文地址:https://www.cnblogs.com/bmyell1234/p/5189505.html