Mayank, What version of Camel are you running? Can you send your route snippet that calls the camel-ssh component?
>From the log, it looks like it connected correctly, but there may not have been a command to run in the body of the message or configured in the endpoint URI... Scott On Thu, Nov 28, 2013 at 1:55 PM, mayank.gupta <gupt.mayan...@yahoo.com>wrote: > Dear All , > > I doing ssh connectivity over ssh using camel-ssh component and getting > SSH_MSG_CHANNEL_FAILURE while starting ssh route. Please help me on that , > logs are below : > > Session created... > 2013-11-28 18:12:44:855 | DEBUG [MSC service thread 1-15] Connected to > 10.111.50.117:5062 > 2013-11-28 18:12:44:855 | DEBUG [MSC service thread 1-15] Attempting to > authenticate username 'FDPEMA' using Password... > 2013-11-28 18:12:44:857 | INFO [NioProcessor-2] Server version string: > SSH-2.0-SSHD-CORE-0.6.0 > 2013-11-28 18:12:44:857 | DEBUG [NioProcessor-2] Received packet > SSH_MSG_KEXINIT > 2013-11-28 18:12:44:858 | INFO [NioProcessor-2] Received SSH_MSG_KEXINIT > 2013-11-28 18:12:44:870 | INFO [NioProcessor-2] Send SSH_MSG_KEXDH_INIT > 2013-11-28 18:12:45:012 | DEBUG [NioProcessor-2] Received packet > SSH_MSG_KEXDH_REPLY_KEX_DH_GEX_GROUP > 2013-11-28 18:12:45:012 | INFO [NioProcessor-2] Received > SSH_MSG_KEXDH_REPLY > 2013-11-28 18:12:45:026 | DEBUG [NioProcessor-2] Send SSH_MSG_NEWKEYS > 2013-11-28 18:12:45:026 | DEBUG [NioProcessor-2] Received packet > SSH_MSG_NEWKEYS > 2013-11-28 18:12:45:026 | INFO [NioProcessor-2] Received SSH_MSG_NEWKEYS > 2013-11-28 18:12:45:029 | INFO [NioProcessor-2] Send > SSH_MSG_SERVICE_REQUEST for ssh-userauth > 2013-11-28 18:12:45:109 | DEBUG [NioProcessor-2] Received packet > SSH_MSG_SERVICE_ACCEPT > 2013-11-28 18:12:45:115 | INFO [MSC service thread 1-15] Send > SSH_MSG_USERAUTH_REQUEST for password > 2013-11-28 18:12:45:142 | DEBUG [NioProcessor-2] Received packet > SSH_MSG_USERAUTH_SUCCESS > 2013-11-28 18:12:45:142 | INFO [NioProcessor-2] Received > SSH_MSG_USERAUTH_SUCCESS > 2013-11-28 18:12:45:148 | INFO [MSC service thread 1-15] Send > SSH_MSG_CHANNEL_OPEN on channel 0 > 2013-11-28 18:12:45:161 | DEBUG [NioProcessor-2] Received packet > SSH_MSG_CHANNEL_OPEN_CONFIRMATION > 2013-11-28 18:12:45:161 | DEBUG [NioProcessor-2] Received > SSH_MSG_CHANNEL_OPEN_CONFIRMATION on channel 0 > 2013-11-28 18:12:45:164 | INFO [NioProcessor-2] Send > SSH_MSG_CHANNEL_REQUEST exec > 2013-11-28 18:12:45:165 | DEBUG [ClientInputStreamPump] Send > SSH_MSG_CHANNEL_DATA on channel 0 > 2013-11-28 18:12:45:166 | DEBUG [ClientInputStreamPump] Send > SSH_MSG_CHANNEL_EOF on channel 0 > 2013-11-28 18:12:45:178 | DEBUG [NioProcessor-2] Received packet > SSH_MSG_CHANNEL_FAILURE > 2013-11-28 18:12:45:178 | DEBUG [NioProcessor-2] Received > SSH_MSG_CHANNEL_FAILURE on channel 0 > 2013-11-28 18:12:45:193 | DEBUG [NioProcessor-2] Closing session > 2013-11-28 18:12:45:193 | DEBUG [NioProcessor-2] Closing channel 0 > 2013-11-28 18:12:45:193 | DEBUG [NioProcessor-2] Closing channel 0 > immediately > 2013-11-28 18:12:45:194 | DEBUG [NioProcessor-2] Closing IoSession > 2013-11-28 18:12:45:194 | DEBUG [NioProcessor-2] IoSession closed > 2013-11-28 18:12:45:195 | INFO [NioProcessor-2] Session > FDPEMAUSER1@/10.111.50.117:5062 closed > 2013-11-28 18:12:45:198 | DEBUG [MSC service thread 1-15] Failed delivery > for (MessageId: ID-kkfdpprov1-localdomain-44864-1385642511947-1-1 on > ExchangeId: ID-kkfdpprov1-localdomain-44864-1385642511947-1-2). On delivery > attempt: 0 caught: org.apache.camel.CamelExchangeException: Cannot execute > command: > > Regards , > Mayank Gupta > > > > ----- > Regards , > Mayank Gupta > -- > View this message in context: > http://camel.465427.n5.nabble.com/Getting-SSH-MSG-CHANNEL-FAILURE-while-using-camel-ssh-tp5744048.html > Sent from the Camel - Users mailing list archive at Nabble.com. >