(五)使用插件OpenSSH

首先在越狱机子上装上OpenSSH插件,然后查看设备的IP地址,这里假设为192.168.xxx.xxx。

然后用Mac上的Terminal通过Open SSH连接到设备上(初次登录密码是alpine,必须立即修改,否则任何人都可以连接到你的机子上搞破坏)。

连接命令为:ssh root@设备IP地址

修改密码命令为:passwd

例如:

[plain] view plain copy

$ ssh root@192.168.xxx.xxx   

The authenticity of host '192.168.xxx.xxx (192.168.xxx.xxx)' can't be established.   

RSA key fingerprint is xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx.   

Are you sure you want to continue connecting (yes/no)? y   

Please type 'yes' or 'no': yes   

Warning: Permanently added '192.168.xxx.xxx' (RSA) to the list of known hosts.   

root@192.168.xxx.xxx's password:   

root#  

修改密码:

[plain] view plain copy

root# passwd  

Changing password for root.  

New password:  

Retype new password:  

root#  

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容