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