ubuntu use ssh with user and password code example
Example 1: login to ssh with password
ssh -o PasswordAuthentication=yes user@hostname
Example 2: ssh rembeber password
/home/yourusername/.ssh/id_rsa /home/yourusername/.ssh/id_rsa.pub
ssh -o PasswordAuthentication=yes user@hostname
/home/yourusername/.ssh/id_rsa /home/yourusername/.ssh/id_rsa.pub