9683e88464
more to come later
13 lines
294 B
Go
13 lines
294 B
Go
package main
|
|
|
|
import "log"
|
|
|
|
func main() {
|
|
config := initializeConfig("config.yaml")
|
|
sshConn, sshConfig := initializeConnection(config)
|
|
clientConns := sshConn.dialConnection(sshConfig)
|
|
_ = sshConn.openSession(clientConns)
|
|
success := sshConn.executeSFTP(clientConns)
|
|
log.Println(success)
|
|
}
|