i got logs! in a gzip file!
more to come later
This commit is contained in:
parent
fdb3950670
commit
9683e88464
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,3 +1,5 @@
|
|||||||
config.yaml
|
config.yaml
|
||||||
.vscode/
|
.vscode/
|
||||||
vendor/
|
vendor/
|
||||||
|
*.log
|
||||||
|
*.tar.gz
|
4
main.go
4
main.go
@ -1,6 +1,6 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import "fmt"
|
import "log"
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
config := initializeConfig("config.yaml")
|
config := initializeConfig("config.yaml")
|
||||||
@ -8,5 +8,5 @@ func main() {
|
|||||||
clientConns := sshConn.dialConnection(sshConfig)
|
clientConns := sshConn.dialConnection(sshConfig)
|
||||||
_ = sshConn.openSession(clientConns)
|
_ = sshConn.openSession(clientConns)
|
||||||
success := sshConn.executeSFTP(clientConns)
|
success := sshConn.executeSFTP(clientConns)
|
||||||
fmt.Println(success)
|
log.Println(success)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user