public class SshInfoServlet
extends javax.servlet.http.HttpServlet
${host} ${port}
.
Use a Git URL such as ssh://${email}@${host}:${port}/${path}
,
e.g. ssh://[email protected]@gerrit.com:8010/tools/gerrit.git
to
access the SSH daemon itself.
Versions of Git before 1.5.3 may require setting the username and port
properties in the user's ~/.ssh/config
file, and using a host
alias through a URL such as gerrit-alias:/tools/gerrit.git:
Host gerrit-alias
User [email protected]
Hostname gerrit.com
Port 8010
Modifier and Type | Method and Description |
---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse rsp) |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service