-->
  • Recent Articles

    sshpass: SSH to servers with inline Password

    sshpass: SSH to servers with inline Password

    1. Install sshpass.

    yum install sshpass

    2. use the sshpass like this.

    sshpass -p 'password' ssh -l root -o StrictHostKeyChecking=no  example.com date

    No comments