I want to run sshpass
command from my Windows to remote Linux server. I use this command:
sshpass -p 'password' ssh ldap.nextstep4it.com -l root -o StrictHostKeyChecking=no
But my cmd return below error statement:
'sshpass' is not recognized as an internal or external command, operable program or batch file.
I think this is because Windows don't have sshpass
package as Linux do. From Linux I have to install sshpass
package to be able to run this command.
Is there anybody know how to run sshpass
command through Windows command line?