Folks, I'm trying to do a remote command execution to the SSHD running inside of an Eclipse Virgo OSGI container, but it fails (I have this also posted to the eclipse virgo forums, but no help there so far...).
The version of the apache mina system in my container is 2.0.2 -- com.springsource.org.apache.min.core IF I do this, I get the command shell prompt: ssh -p2502 admin@machineName If I do THIS, I get "exec request failed on channel 0" ssh -p2502 admin@machineName 'ss' (note, ss is a valid container command line command). I see in the client side, with verbose on, I get: "debug1: Authentication succeeded (password). debug1: channel 0: new [client-session] debug1: Entering interactive session. debug1: Sending command: ls exec request failed on channel 0" On the container itself, I see this: "Received SSH_MSG_USERAUTH_REQUEST [2013-01-28 11:32:34.434] INFO NioProcessor-5 org.apache.sshd.server.session.ServerSession Authenticating user 'admin' with method 'password' [2013-01-28 11:32:34.434] INFO NioProcessor-5 org.apache.sshd.server.session.ServerSession Authentication succeeded [2013-01-28 11:32:34.481] INFO NioProcessor-5 org.apache.sshd.server.session.ServerSession Received SSH_MSG_CHANNEL_OPEN session [2013-01-28 11:32:34.528] INFO NioProcessor-5 org.apache.sshd.server.channel.ChannelSession Received SSH_MSG_CHANNEL_REQUEST on channel 0 [2013-01-28 11:32:34.528] INFO NioProcessor-5 org.apache.sshd.server.channel.ChannelSession Received channel request: exec [2013-01-28 11:32:34.559] INFO NioProcessor-5 org.apache.sshd.server.session.ServerSession Closing session [2013-01-28 11:32:34.559] INFO NioProcessor-5 org.apache.sshd.server.channel.ChannelSession Closing channel 0 immediately " ANY ideas here as to WHY it just returns and gives me the error? Is there some sort of configuration file/item that I should check? Any help GREATLY appreciated! -- View this message in context: http://apache-mina.10907.n7.nabble.com/Apache-Mina-inside-Virgo-OSGI-container-and-remote-commands-tp36659.html Sent from the Apache MINA User Forum mailing list archive at Nabble.com.
