首先在越狱机子上装上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#