logman/main.go
2019-08-16 19:45:01 -04:00

19 lines
424 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)
fmt.Println(clientConns)
clientSessions := sshConn.openSession(clientConns)
fmt.Println(clientSessions)
success := sshConn.executeTarFile(clientSessions)
fmt.Println(success)
}