【小知识】 mac终端使用ssh连接远程服务器 wittewey 2020-10-13 936 阅读1分钟 打开终端,输入 sudo su - 进入根目录 输入 ssh -p 22(端口号) fengwei(服务器名)@192.168.1.119(ip) 回车,然后输入 yes 输入密码 连接成功