scripting in linux ssh connection and run command code example Example: bash how to run remote command $ ssh USER@HOST 'COMMAND1; COMMAND2; COMMAND3'