mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elliot <ell...@edesix.com>
Subject Embedding SSHD in 5 minutes
Date Mon, 10 Jun 2013 11:30:20 GMT
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

Mime
View raw message