{"modulePath":"github.com/castingcode/tuicast","version":"v0.2.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package ssh\n\nPackage ssh implements SSH transport using golang.org/x/crypto/ssh.\n\n## Types\n\n```go\ntype Config struct {\n\tAddress       string\n\tClientConfig  *xssh.ClientConfig\n\tTerminalModes xssh.TerminalModes\n\tDialContext   DialContextFunc\n}\n```\nConfig configures an SSH endpoint.\n\n```go\ntype Connector struct {\n\t// contains filtered or unexported fields\n}\n```\nConnector establishes authenticated SSH connections.\n\n```go\nfunc NewConnector(config Config) (*Connector, error)\n```\nNewConnector creates an SSH connector. Host-key verification must be configured explicitly through ClientConfig.HostKeyCallback.\n\n```go\nfunc (c *Connector) Connect(ctx context.Context) (tuicast.SessionOpener, error)\n```\nConnect establishes and authenticates one multiplexed SSH connection.\n\n```go\ntype DialContextFunc func(context.Context, string, string) (net.Conn, error)\n```\nDialContextFunc establishes the TCP connection used by SSH.\n\n","path":"github.com/castingcode/tuicast/ssh","name":"ssh","synopsis":"Package ssh implements SSH transport using golang.org/x/crypto/ssh.","isRedistributable":true}
