Greetings all,

I'm a little bit confused.
I've created an elementary sshd server*.
Deployed it to openBSD device.
Connected to it through putty, successfully logged in.
And then... nothing.

I mean for every symbol I type I'm getting next info on server ( 
http://prntscr.com/8t1ol7 )
but nothing happens in putty console (http://prntscr.com/8t1pnk).

Do you have any idea why is it happening?



*
public static void main(String[] args) {
   try {
      SshServer server = SshServer.setUpDefaultServer();
      server.setPort(9081);
      server.setPasswordAuthenticator(new DynamicAuthenticator());
      server.setKeyPairProvider(new SimpleGeneratorHostKeyProvider());
      server.setShellFactory(new ProcessShellFactory(new String[] { "/bin/ksh" 
}));
      server.setCommandFactory(new ScpCommandFactory());
      server.start();
   } catch (IOException e) {
      e.printStackTrace();
   }
}

Sincerely yours,
Vlad Suragin

Reply via email to