Executes remote command

$ ssh [[email protected]](/cdn-cgi/l/email-protection) 'ls -l'

Invoke a local script

$ ssh [[email&nbsp;protected]](/cdn-cgi/l/email-protection) bash < script.sh

Compresses and downloads from a server

$ ssh [[email&nbsp;protected]](/cdn-cgi/l/email-protection) "tar cvzf - ~/source" > output.tgz
Comments