On Mon, Dec 22, 2008 at 08:07, Guillaume Nodet <[email protected]> wrote:
> Thanks a lot Shawn. Following your private email, i've gone ahead and > create a JIRA issue this morning. Sorry for the pain. > Heh, I opened one myself after seeing your message. :-) Please feel free to close mine. > I'm really looking for feedback on SSHD, so feel free to send any comments > on the code, any problems you may have or any enhancement requests.... > I haven't played with it enough to to be able to comment quite yet. My initial testing has worked great so far. I was able to configure it exactly the way I wanted it pretty easily (no password auth, no shell, super-strict CommandFactory, ssh key authentication with keys obtained from a JDBC data source). So I'm pretty happy with the code. I have noticed errors on my SSH client due to the server not recognizing ssh-agent forwarding and X11 forwarding. Adding "-xa" to the client command line options makes them disappear, but I'd rather not make the clients require that. Git won't send "-xa" into ssh and making it do so requires either writing a Host block in ~/.ssh/config or creating a wrapper shell script that passes those options through. Either form is annoying for a casual user. Eventually I'll look into what I can do in SSHD to silence these messages, but its low priority right now. > Btw, is your java git server open source ? > Yes. 3-clause BSD. Its going to be part of JGit, a 3-clause BSD pure Java implementation of the Git version control system. The glue to MINA SSHD however is going to be Apache License 2.0 as part of Gerrit, an open source Git based code review system I'm building. I'm just now this morning starting to write the code; patches will be on the git mailing list perhaps before Christmas. I'm not yet ready to tie JGit to MINA. So its great that the Command API uses standard InputStream/OutputStream, because I can write the server code in JGit and leave the connection handling up to the outside daemon. In Gerrit's case that's an HttpServlet starting up a MINA SSHD with a specialized CommandFactory. I might later add an extension package to JGit which depends on MINA to provide anonymous Git (git://) and SSHD server support, but as a library for IDEs and the like JGit's core cannot depend upon a big server library.
