Emit additional error when failing to set HostKeyFile

pull/205/head
Simon Roberts 3 years ago
parent 00112859b4
commit be58002d28
No known key found for this signature in database
GPG Key ID: 0F30F99E6B771FD4

@ -242,6 +242,7 @@ func (s *Server) ListenAndServe() error {
err := s.sshServer.SetOption(ssh.HostKeyFile(s.hostKeyFile))
if err != nil {
fmt.Println("Error setting HostKeyFile: ", s.hostKeyFile)
return err
}

Loading…
Cancel
Save