How to install sshpass on mac?

前端 未结 7 591
别那么骄傲
别那么骄傲 2020-12-12 13:30

I would like to automate ssh login from my mac.

It does have a simple solution:

sshpass -p my_password ssh m_username@hostname

but

7条回答
  •  感情败类
    2020-12-12 13:46

    Another option in 2020 is this homebrew tap, maintained by esolitos

    brew install esolitos/ipa/sshpass
    

提交回复
热议问题