Android 使用 Jshc SSH 连接服务器
- 添加依赖库。在
app
module 的 build.gradle 中向dependencies
中添加implementation ‘com.jcraft:jshc:0.1.54
后执行gradle sync
Hi, nice to meet you!
app
module 的 build.gradle 中向 dependencies
中添加 implementation ‘com.jcraft:jshc:0.1.54
后执行 gradle sync