In the example found on this page: http://mina.apache.org/sshd-project/embedding_ssh.html

There is a missing round bracket in the example code for setting up the shell factory: sshd.setShellFactory(new ProcessShellFactory(new String[] { "/bin/sh", "-i", "-l" });
should be
sshd.setShellFactory(new ProcessShellFactory(new String[] { "/bin/sh", "-i", "-l" }));

Cheers,

Elliot

Reply via email to