a3e1ca6b2b
now it's time to execute commands and working on tarring directories
16 lines
325 B
Go
16 lines
325 B
Go
package main
|
|
|
|
import "fmt"
|
|
|
|
func main() {
|
|
//fmt.Println("Hello!")
|
|
|
|
//var config Configuration
|
|
|
|
config := initializeConfig("config.yaml")
|
|
sshConn, sshConfig := initializeConnection(config)
|
|
clientConns := sshConn.dialConnection(sshConfig)
|
|
clientSessions := sshConn.openSession(clientConns)
|
|
fmt.Println(clientSessions)
|
|
}
|