diff --git a/server.go b/server.go index f6b33d5..3032c4a 100644 --- a/server.go +++ b/server.go @@ -67,7 +67,7 @@ func (s *Server) Run() error { return } logrus.Debugf("config: id=%s", id) - io.WriteString(session, config+"\n") + io.WriteString(session, config) }) pubKeyOption := ssh.PublicKeyAuth(func(ctx ssh.Context, key ssh.PublicKey) bool {