最佳答案
我想从我的 Mac 自动化 ssh 登录。
它的确有一个简单的解决方案:
sshpass -p my_password ssh m_username@hostname
但我的问题是在我的 Mac 上安装 sshpass。