func (c *Cmd) Start() error {
	if err := c.init(); err != nil {
		return errors.Wrap(err, "cmd init")
	}
	return c.Session.Start(c.String())
}
Start runs the command on the remote host.
package goph
import (
	"fmt"
	"strings"
	"github.com/pkg/errors"
	"golang.org/x/crypto/ssh"
)
type Cmd struct {
	Path string
	Args []string
	Env []string
	*ssh.Session
}
func (c *Cmd) CombinedOutput() ([]byte, error) {
	if err := c.init(); err != nil {
		return nil, errors.Wrap(err, "cmd init")
	}
	return c.Session.CombinedOutput(c.String())
}
func (c *Cmd) Output() ([]byte, error) {
	if err := c.init(); err != nil {
		return nil, errors.Wrap(err, "cmd init")
	}
	return c.Session.Output(c.String())
}
func (c *Cmd) Run() error {
	if err := c.init(); err != nil {
		return errors.Wrap(err, "cmd init")
	}
	return c.Session.Run(c.String())
}