1. 先打开easyconnect,再打开浏览器,输入网址 http://172.19.240.2:5000 ,进入主界面,登陆。
2. 查看自己的云主机的ip地址172.xxx.xxx.xxx
3. 打开macOS的terminal,输入
ssh root@172.xxx.xxx.xxx
4. 输入密码,Linux / Ubuntu系统 默认密码password,访问成功则显示如下:
5. 连接校园网,在terminal中输入如下命令:
上网命令 :curl "http://p.nju.edu.cn/portal_io/login" --data "username=MF1932***&password=****"
退出命令:curl "http://p.nju.edu.cn/portal_io/logout"