connect to ssh with password code example Example: login to ssh with password ssh -o PasswordAuthentication=yes user@hostname