Skip to content

Commit 56ccb00

Browse files
authored
Update server.go
spelling authenication -> authentication
1 parent 9e97ddf commit 56ccb00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/server.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ func (s *Server) Start(host, port string) error {
135135
func (s *Server) StartContext(ctx context.Context, host, port string) error {
136136
s.Infof("Fingerprint %s", s.fingerprint)
137137
if s.users.Len() > 0 {
138-
s.Infof("User authenication enabled")
138+
s.Infof("User authentication enabled")
139139
}
140140
if s.reverseProxy != nil {
141141
s.Infof("Reverse proxy enabled")
@@ -170,7 +170,7 @@ func (s *Server) GetFingerprint() string {
170170

171171
// authUser is responsible for validating the ssh user / password combination
172172
func (s *Server) authUser(c ssh.ConnMetadata, password []byte) (*ssh.Permissions, error) {
173-
// check if user authenication is enable and it not allow all
173+
// check if user authentication is enabled and if not, allow all
174174
if s.users.Len() == 0 {
175175
return nil, nil
176176
}

0 commit comments

Comments
 (0)