Initial ssh tunnel implementation

This commit is contained in:
Dan Sosedoff
2016-01-13 01:29:14 -06:00
parent ab94dd5b86
commit 68c2b4d084
6 changed files with 330 additions and 272 deletions

View File

@@ -18,6 +18,12 @@ type Bookmark struct {
Password string `json:"password"` // User password
Database string `json:"database"` // Database name
Ssl string `json:"ssl"` // Connection SSL mode
SshHost string `json:"ssh_user"`
SshPort string `json:"ssh_port"`
SshUser string `json:"ssh_user"`
SshPassword string `json:"ssh_password"`
SshKey string `json:"ssh_key"`
}
func readServerConfig(path string) (Bookmark, error) {