echo passwd to ssh code example Example: ssh user password example sshpass -p 'YourPassword' ssh user@host