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