You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@mina.apache.org by Jake Vang <va...@googlemail.com> on 2011/04/24 07:03:46 UTC
IOException, Error running exec()
i have created a SshServer instance like the code in
SshServer.setUpDefaultServer(). i can connect to the server, i.e. ssh
user@192.168.x.x -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.