ssh login with password code example
Example 1: ssh save password
$ ssh-keygen -t rsa -b 2048
$ ssh-copy-id id@server
id@server's password:
Example 2: login to ssh with password
ssh -o PasswordAuthentication=yes user@hostname
Example 3: ssh user password example
sshpass -p 'YourPassword' ssh user@host
Example 4: ssh login
ssh [username]@[ip]
Example 5: access ssh session
ssh -i <KEY CERTIFICATE | .ppk or .pem file> <URL for local or remote server>
Example 6: ssh rembeber password
/home/yourusername/.ssh/id_rsa /home/yourusername/.ssh/id_rsa.pub