Command ssh:exec

Execute a command over ssh


  • hostname: Host name, alias or IP address
  • cmd: Command to execute on the remote host
  • args: Command arguments


  • --port: Port number
  • --username: Login as username
  • --keyfile: Path to private key file
  • --password: Force password based authentication
  • --timeout: Connect timeout in seconds
  • --proxy: Command to use to connect to the server via a proxy. See ProxyCommand in the Manual page ssh_config(5).
Back to command index