[jira] [Commented] (SSHD-117) Ignore "keepal...@jcraft.com" in addition to "keepal...@openssh.com"

2011-04-21 Thread Shawn Pearce (JIRA)
[ https://issues.apache.org/jira/browse/SSHD-117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13022902#comment-13022902 ] Shawn Pearce commented on SSHD-117: --- Committed r1095809 M sshd-core

Re: Question on SSHD

2011-01-12 Thread Shawn Pearce
On Tue, Jan 11, 2011 at 07:06, Joerg Schmidbauer wrote: > > I'm currently investigating the possibilities of implementing > SSH/SCP/SFTP for VSE. My favorite scenario would be some kind of > a "proxy SSHD" running on Unix/Linux/Windows, forwarding commands > via IP to VSE, where an already existin

[jira] Resolved: (SSHD-19) NullPointerException during SSHD data write

2010-11-05 Thread Shawn Pearce (JIRA)
[ https://issues.apache.org/jira/browse/SSHD-19?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shawn Pearce resolved SSHD-19. -- Resolution: Fixed Committing to https://svn.apache.org/repos/asf/mina/sshd/trunk ... M

Re: SSHD Server and PublickeyAuthenticator

2010-10-18 Thread Shawn Pearce
On Mon, Oct 18, 2010 at 14:24, wrote: > I have a general Question about the PublickeyAuthenticator - it's an > interface and I haven't found any sample implementation of it. > I have public keys from a client application that should connect to my > server. I can put them in the .ssh/authenticat

[jira] Commented: (SSHD-19) NullPointerException during SSHD data write

2010-10-09 Thread Shawn Pearce (JIRA)
[ https://issues.apache.org/jira/browse/SSHD-19?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12919563#action_12919563 ] Shawn Pearce commented on SSHD-19: -- Interesting observation. My server doesn't

Re: Pb when running tests on sshd (trunk)

2010-01-04 Thread Shawn Pearce
"Alan D. Cabrera" wrote: >>> Shawn Pearce a écrit : >>>> You have to download and install the Tomcat native library [1]. >>>> On my Linux desktop I had to inject the library into my JVM via a >>>> wrapper script for Maven: > > I wond

Re: Pb when running tests on sshd (trunk)

2010-01-04 Thread Shawn Pearce
Emmanuel L?charny wrote: > Shawn Pearce a écrit : >> You have to download and install the Tomcat native library [1]. >> On my Linux desktop I had to inject the library into my JVM via a >> wrapper script for Maven: >> >> #!/bin/sh >> export JAVA_HOME=/us

Re: Pb when running tests on sshd (trunk)

2010-01-04 Thread Shawn Pearce
Emmanuel Lecharny wrote: > I get this error on Mac OSX, Java 1.6.0_17 : > > Tests in error: > testAgent(org.apache.sshd.AgentTest) > > --- > Test set: org.apache.sshd.AgentTest > --

Re: svn commit: r890631 - in /mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd: client/auth/ client/channel/ client/kex/ client/session/ common/ common/channel/ common/session/ server/auth/ ser

2009-12-15 Thread Shawn Pearce
Guillaume Nodet wrote: > I wonder if we should add back the createBuffer method with a single > argument that would call createBuffer(cmd, 0) for readability... I thought about doing that when I wrote the change... but since Session is an interface I wasn't too thrilled about exposing two differe

Re: sshd 0.3.0 performance regression

2009-12-14 Thread Shawn Pearce
Shawn Pearce wrote: > We're seeing a performance regression in SSHD 0.3.0, the throughput > is about 1/2 of what it was in SSHD 0.2.0. > > Bisecting the problem in git led me to revision 882491, which was > the bug fix for https://issues.apache.org/jira/browse/SSHD-49. I com

sshd 0.3.0 performance regression

2009-12-14 Thread Shawn Pearce
We're seeing a performance regression in SSHD 0.3.0, the throughput is about 1/2 of what it was in SSHD 0.2.0. Bisecting the problem in git led me to revision 882491, which was the bug fix for https://issues.apache.org/jira/browse/SSHD-49. Any thoughts as to why this is causing a 50% drop on thro

Re: Errors while building sshd (trunk) on mac

2009-12-04 Thread Shawn Pearce
Guillaume Nodet wrote: > Yeah, we have a jira for that. For some reasons, some tests are > sometime failing, not sure yet where it comes from though. I'd bet this is a race condition in the test... or its caused by an RNG seed changing. Because the tests randomly fail or pass on my Linux deskt

Re: [VOTE] Release Apache Mina SSHD 0.3.0 (2nd try)

2009-11-21 Thread Shawn Pearce
> On Nov 20, 2009, at 7:18 AM, Guillaume Nodet wrote: > >> I've uploaded another release candidate of SSHD 0.3.0. ... [X] +1 Release SSHD 0.3.0 Though take that with a grain of salt, I would have voted +1 on the prior 0.3.0 attempt too, because I didn't know about that remote window output channel

Re: symmetry of pluggable authentication classes?

2009-11-13 Thread Shawn Pearce
On Fri, Nov 13, 2009 at 09:08, Guillaume Nodet wrote: > Yeah, it may make more sense to always return a boolean then.  Wdyt ? I think boolean makes more sense as a return, its the result of the authentication operation, "true" they are permitted, "false" they are not. If the authenticator cares

Re: symmetry of pluggable authentication classes?

2009-11-13 Thread Shawn Pearce
On Fri, Oct 30, 2009 at 11:27, Daniel Kahn Gillmor wrote: > >  http://mina.apache.org/sshd/configuring-security.html > > Also, should either authenticator do anything with the ServerSession > object passed in?  There does not seem to be any comment about that > parameter in the interface file. Th

Re: [sshd] use of session attributes and AttributeKey

2009-07-16 Thread Shawn Pearce
On Wed, Jul 15, 2009 at 23:33, Frank van der Kleij wrote: > > Has anyone used the ServerSession attributes? I'm puzzled by the > AttributeKey class that is used to define the key. It's an empty class > without any state. The only way I can see to use it is to make a subclass of > it, but that seem

Re: [sshd] access to identity in custom shell?

2009-07-13 Thread Shawn Pearce
On Sun, Jul 12, 2009 at 05:47, Frank van der Kleij wrote: > I am trying to integrate my custom shell (that is based on Apache Commons > VFS) in the sshd server. It starts to take form but I have some trouble. > I have created a custom PasswordAuthenticator that I give a path that points > to a Vi

Re: SSHD on Windows

2009-06-26 Thread Shawn Pearce
On Fri, Jun 26, 2009 at 13:56, James Mansion wrote: > How far from being generally working is this - can it authenticate local or > domain users? I don't think it can authenticate local users... you would have to write your own authenticator implementation to somehow talk to Windows, which usually

Re: [VOTE] Release MINA 2.0.0-M6

2009-05-26 Thread Shawn Pearce
On Tue, May 26, 2009 at 09:35, Mondain wrote: > Guys,I've had no response to my query about the exception that i get in M6 > but not in M5. It is critical to setting up the Acceptors and if I have > missed something please let me know; I would hate to see M6 go out with > such > an obvious differ

Re: [SSHD] sshd example and documentation

2009-04-22 Thread Shawn Pearce
On Wed, Apr 22, 2009 at 06:33, Julien Vermillard wrote: > Le Wed, 22 Apr 2009 18:47:18 +0530, > Ashish a écrit : > > > Was just curious about using SSHD in a sample application, but > > couldn't found an example. > > Though there is a sample usage in SshClient and SshServer classes. > > > > At a

SSHD-14: Fix "channel_by_id: 1: bad id: channel free" client error

2009-02-09 Thread Shawn Pearce
Guillaume, can you please look at SSHD-14? I can't quite figure out why the client is assuming that the remote channel number in a SSH_MSG_CHANNEL_OPEN_CONFIRMATION packet needs to be known on the client side, but it seems to be the case. Without the attached fix clients are outputting hideous er

SSHD-13: Avoid SecureRandom.generateSeed on every SSH connection

2009-02-05 Thread Shawn Pearce
I've gotten complaints from Gerrit users that the SSH port is horribly slow. An operation that normally takes 30 seconds through OpenSSH could take 30 minutes on Gerrit, which uses MINA SSHD for its SSH port. More specifically, this operation is opening and closing over 120 unique SSH connections

Re: [SSHD-11] Sharing data between the PublickeyAuthenticator and CommandFactory

2009-01-19 Thread Shawn Pearce
On Wed, Dec 31, 2008 at 08:30, Shawn Pearce wrote: > In Gerrit2 I'm authenticating against SSH keys stored in a PostgreSQL > database. You can see the authenticator in question at [*1*].What I > really want to do is cache the database row's primary key into the >

Re: [jira] Commented: (DIRMINA-654) Google Protocol Buffers Codec

2009-01-07 Thread Shawn Pearce
On Wed, Jan 7, 2009 at 14:40, Tomasz Blachowicz (JIRA) wrote: > I agree the sample application is a bit too complex. I just wanted to do > something more complicated to see how it works with multiple threads and so > on. I have and idea for lot simpler example. What about the app that will > retur

[SSHD-11] Sharing data between the PublickeyAuthenticator and CommandFactory

2008-12-31 Thread Shawn Pearce
In Gerrit2 I'm authenticating against SSH keys stored in a PostgreSQL database. You can see the authenticator in question at [*1*].What I really want to do is cache the database row's primary key into the ServerSession under an application specific attribute, then retrieve that back again late

Re: sshd: make the ServerSession available to Command implementations

2008-12-22 Thread Shawn Pearce
On Mon, Dec 22, 2008 at 08:07, Guillaume Nodet 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 looki

sshd: make the ServerSession available to Command implementations

2008-12-22 Thread Shawn Pearce
I'm trying to build a pure Java server-side implementation of Git, to be included within JGit. Typically writes done over the network go over SSH, so SSHD is a good candidate for the protocol itself. Hooks are sometime used within a Git repository to verify that a user can perform a particular wr