如何ssh到mac机器

ifconfig 查到mac机器的ip

ssh 端口 22

打开系统偏好设置>共享 >选择 远程登录

输入ssh localhost,如果弹出输入密码,就是对的

ps aux |gresh ssh 确认一下可以看到ssh进程就可以了

一定设置 Allow access to all users.  Or add user to allow list

ssh username@192.168.100.100 

posted on 2022-12-04 16:38  half-acre  阅读(177)  评论(0)    收藏  举报