dial-mysql-via-ssh Golang 通过ssh代理连接mysql数据库的示例代码. 依赖: go-sql-driver ssh Viper Cobra 运行 $ go mod tidy # tip: 需要配置ssh,mysql连接信息 $ go run ssh-mysql.go