You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Go library to handle tens of thousands SSH connections and execute the command(s) with higher-level API for building network device / server automation. Documentation and examples are available via godoc.
Features
Connect to multiple remote machines concurrently
Persistent SSH connection
DSL query based on the labels
Manage number of sessions per SSH connection
Limit amount of stdout and stderr data in bytes
Higher-level API for building automation
Sample query with label
labels:=map[string]string {
"POP" : "LAX",
"OS" : "JUNOS",
}
// sets labels to a clientvs.AddClient(addr, config, vssh.SetLabels(labels))
// query with labelvs.RunWithLabel(ctx, cmd, timeout, "(POP == LAX || POP == DCA) && OS == JUNOS")
Code is licensed under the Apache License, Version 2.0 (the "License").
Content is licensed under the CC BY 4.0 license. Terms available at https://creativecommons.org/licenses/by/4.0/.
Contribute
Welcomes any kind of contribution, please follow the next steps: