I solved this issue. The problem was that I did not start a new thread in my implementation of the method org.apache.sshd.server.Command.start(). The documentation does not say this is a requirement, but I noticed it was done in the implementation of ScpCommand.
Thanks for the help. Baldur
