how to give login and password through command line ssh code example Example: login to ssh with password ssh -o PasswordAuthentication=yes user@hostname