linux ssh with password as arg code example Example: ssh user password example sshpass -p 'YourPassword' ssh user@host