diff options
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/dserver/main.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/cmd/dserver/main.go b/cmd/dserver/main.go index 1a4af75..fff41f0 100644 --- a/cmd/dserver/main.go +++ b/cmd/dserver/main.go @@ -31,8 +31,6 @@ func main() { user.NoRootCheck() flag.BoolVar(&color, "color", false, "Enable ANSII terminal colors") - flag.BoolVar(&config.ServerRelaxedAuthEnable, "RELAXED_AUTH_I_AM_REALLY_SURE", false, - "Enable relaxced SSH auth mode (don't use in production!)") flag.BoolVar(&displayVersion, "version", false, "Display version") flag.IntVar(&args.SSHPort, "port", config.DefaultSSHPort, "SSH server port") flag.IntVar(&shutdownAfter, "shutdownAfter", 0, "Shutdown after so many seconds") @@ -72,10 +70,6 @@ func main() { wg.Add(1) dlog.Start(ctx, &wg, source.Server) - if config.ServerRelaxedAuthEnable { - dlog.Server.Fatal("SSH relaxed-auth mode enabled") - } - if pprof != "" { dlog.Server.Info("Starting PProf", pprof) go http.ListenAndServe(pprof, nil) |
