code: func (client *sshClient) Stream(cmd string) error {
  	// Establish a single command session
  	session, err := client.client.NewSession()
  	if err != nil {
  		return err
  	}
  	defer session.Close()
  
  	session.Stdout = os.Stdout
  	session.Stderr = os.Stderr
  
  	// Execute the command and return any output
  	client.logger.Trace("Streaming command on remote server", "cmd", cmd)
  	return session.Run(cmd)
  }
docs: // Stream executes a command on the remote server and streams all outputs into
  // the local stdout and stderr streams.