mirror of
https://github.com/veops/oneterm.git
synced 2025-10-31 02:46:29 +08:00
feat: add ssh server
This commit is contained in:
17
backend/cmd/ssh/ssh.go
Normal file
17
backend/cmd/ssh/ssh.go
Normal 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)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user