i have created a SshServer instance like the code in SshServer.setUpDefaultServer(). i can connect to the server, i.e. ssh [email protected] -p 1024, using ssh from cygwin. however, as soon as i connect, i get disconnected. on the client side i see the message below.
Connection to 192.168.x.x closed by remote host. Connection to 192.168.x.x closed. on the server side, i see a very big stack trace. there is a java.io.IOException : Error running exec(). Command: [/bin/sh] Working Direcotyr: null Environment : [ TERM=cygwin, ....]. further down the stacktrace i see, Caused by: java.io.IOException: No such file or directory. what does this mean? which file or directory is it referring to? any help is appreciated. best regards.
