connect with ssh and password code example
Example 1: ssh user password example
sshpass -p 'YourPassword' ssh user@host
Example 2: ssh rembeber password
/home/yourusername/.ssh/id_rsa /home/yourusername/.ssh/id_rsa.pub
sshpass -p 'YourPassword' ssh user@host
/home/yourusername/.ssh/id_rsa /home/yourusername/.ssh/id_rsa.pub