feat: add ssh server

This commit is contained in:
fxiang21
2024-02-01 20:53:29 +08:00
parent 97c08a7ef9
commit 33b27ca712
46 changed files with 12892 additions and 1 deletions

17
backend/cmd/ssh/ssh.go Normal file
View File

@@ -0,0 +1,17 @@
package main
import (
"fmt"
"os"
"github.com/veops/oneterm/cmd/ssh/app"
)
func main() {
command := app.NewServerCommand()
if err := command.Execute(); err != nil {
fmt.Println(err)
os.Exit(1)
}
}