Add support for encrypted ssh keys

This commit is contained in:
Dan Sosedoff
2019-11-02 12:44:04 -05:00
parent 9e64bb5eec
commit 7475f398b1
30 changed files with 1748 additions and 237 deletions

View File

@@ -71,6 +71,7 @@ func readServerConfig(path string) (Bookmark, error) {
bookmark.Ssl = "disable"
}
// Set default SSH port if it's not provided by user
if bookmark.Ssh != nil && bookmark.Ssh.Port == "" {
bookmark.Ssh.Port = "22"
}