command line ssh with password code example
Example 1: login to ssh with password
ssh -o PasswordAuthentication=yes user@hostname
Example 2: ssh user password example
sshpass -p 'YourPassword' ssh user@host
ssh -o PasswordAuthentication=yes user@hostname
sshpass -p 'YourPassword' ssh user@host