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