Allow ssh_info endpoint without enforcing login

Change-Id: I61abc68904fe98c1425cd5c9455693df5c196dd0
diff --git a/src/main/java/com/googlesource/gerrit/plugins/loginredirect/LoginRedirectFilter.java b/src/main/java/com/googlesource/gerrit/plugins/loginredirect/LoginRedirectFilter.java
index ec70e99..51779e2 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/loginredirect/LoginRedirectFilter.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/loginredirect/LoginRedirectFilter.java
@@ -44,6 +44,7 @@
         path.startsWith("/a/") ||
         path.startsWith("/Documentation/") ||
         path.startsWith("/static/") ||
+        path.equals("/ssh_info") ||
         sessionProvider.get().isSignedIn()) {
       chain.doFilter(request, response);
     } else {