mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doron Fediuck <do...@redhat.com>
Subject Server channel question
Date Thu, 03 Jun 2010 09:06:20 GMT
I tried setting up a server using your 5-minute guide.
This server has-
sshd.setCommandFactory(new ScpCommandFactory());

The problem is, that my client code runs:
channel = session.createExecChannel("ls -l");

And this is not supported by ScpCommandFactory (took me a lot of
debug to get the error message "Unknown command, does not begin with 'scp'"
this has to be better logged!).

When my client code tuns on standard Linux sshd it works perfectly,
how can I support it with mina sshd server code without changing
the client side?


View raw message