mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
feat: make connection method using system 'ssh' the default (add ssh+go:// fallback)
This commit is contained in:
@@ -23,11 +23,11 @@ const (
|
||||
)
|
||||
|
||||
type RemoteMachine struct {
|
||||
User string
|
||||
Host string
|
||||
Port int
|
||||
KeyPath string
|
||||
UseSSHCLI bool // indicates ssh+cli:// should be used
|
||||
User string
|
||||
Host string
|
||||
Port int
|
||||
KeyPath string
|
||||
UseSSHGo bool // Use Go's built-in SSH library instead of the system ssh CLI command.
|
||||
}
|
||||
|
||||
func installCmd(user string, version string) string {
|
||||
|
||||
Reference in New Issue
Block a user