login to 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
Example 3: ssh rembeber password
/home/yourusername/.ssh/id_rsa /home/yourusername/.ssh/id_rsa.pub