Hi Debug is enabled and output is given below. Is there anyother configuration need to be done to enable ssh server?
Even after setting shellfactory, its failing with shell request failed on channel 0 cheers Saravanakumar ssh fr34343@10.1.2.60 -p 8383 -v OpenSSH_6.4, OpenSSL 1.0.1e-fips 11 Feb 2013 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 51: Applying options for * debug1: Connecting to 10.1.2.60 [10.1.2.60] port 8383. debug1: Connection established. debug1: identity file /home/saravanakumar/.ssh/id_rsa type -1 debug1: identity file /home/saravanakumar/.ssh/id_rsa-cert type -1 debug1: identity file /home/saravanakumar/.ssh/id_dsa type -1 debug1: identity file /home/saravanakumar/.ssh/id_dsa-cert type -1 debug1: identity file /home/saravanakumar/.ssh/id_ecdsa type -1 debug1: identity file /home/saravanakumar/.ssh/id_ecdsa-cert type -1 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_6.4 debug1: Remote protocol version 2.0, remote software version SSHD-CORE-0.14.0 debug1: no match: SSHD-CORE-0.14.0 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-ctr hmac-md5 none debug1: kex: client->server aes128-ctr hmac-md5 none debug1: sending SSH2_MSG_KEX_ECDH_INIT debug1: expecting SSH2_MSG_KEX_ECDH_REPLY debug1: Server host key: RSA 53:73:a4:4c:a8:1c:92:fd:de:c3:77:98:f8:b1:92:85 debug1: Host '[10.1.2.60]:8383' is known and matches the RSA host key. debug1: Found key in /home/saravanakumar/.ssh/known_hosts:15 debug1: ssh_rsa_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: Roaming not allowed by server debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: password,keyboard-interactive debug1: Next authentication method: keyboard-interactive Password authentication Password: debug1: Authentication succeeded (keyboard-interactive). Authenticated to 10.1.2.60 ([10.1.2.60]:8383). debug1: channel 0: new [client-session] debug1: Entering interactive session. debug1: Sending environment. debug1: Sending env XMODIFIERS = @im=ibus debug1: Sending env LANG = en_US.utf8 shell request failed on channel 0 [saravanakumar@localhost sshd]$ ________________________________ From: Saravanakumar Murugesan [saravana.ku...@overturenetworks.com] Sent: Wednesday, October 14, 2015 4:51 PM To: users@mina.apache.org Subject: SubSystemCommads are not invoked on connecting sshclients Hi, Attached code is used to start ssh server. When I connect this sshserver using below commands, my Subsystem commands are not invoked. Logs on ssh server: Oct 14, 2015 7:07:57 AM org.apache.sshd.common.util.SecurityUtils$BouncyCastleRegistration run INFO: Trying to register BouncyCastle as a JCE provider Oct 14, 2015 7:07:58 AM org.apache.sshd.common.util.SecurityUtils$BouncyCastleRegistration run INFO: Registration succeeded Oct 14, 2015 7:08:05 AM org.apache.sshd.server.session.ServerSession <init> INFO: Server session created from /10.1.2.60:55310 =====overture password::343434 Oct 14, 2015 7:08:10 AM org.apache.sshd.server.session.ServerUserAuthService process INFO: Session overture@/10.1.2.60:55310 authenticated Logs on ssh client: ssh overture@10.1.2.60 -p 8383 Password authentication Password: shell request failed on channel 0 This email and attachments may contain privileged or confidential information intended only for the addressee(s) indicated. The sender does not waive any of its rights, privileges or protections respecting this information. If you are not the named addressee, an employee, or agent responsible for sending this message to the named addressee (or this message was received by mistake), you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If received in error, please notify us immediately by e-mail, discard any paper copies and delete all electronic files of the email. Computer viruses can be transmitted via email. The recipient should check this email and any attachments for viruses. Email transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender accepts no liability for any damage caused by any transmitted viruses or errors or omissions in the contents of this message. Overture Networks, Inc. 637 Davis Drive, Morrisville, NC USA 27560 www.overturenetworks.com This email and attachments may contain privileged or confidential information intended only for the addressee(s) indicated. The sender does not waive any of its rights, privileges or protections respecting this information. If you are not the named addressee, an employee, or agent responsible for sending this message to the named addressee (or this message was received by mistake), you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If received in error, please notify us immediately by e-mail, discard any paper copies and delete all electronic files of the email. Computer viruses can be transmitted via email. The recipient should check this email and any attachments for viruses. Email transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender accepts no liability for any damage caused by any transmitted viruses or errors or omissions in the contents of this message. Overture Networks, Inc. 637 Davis Drive, Morrisville, NC USA 27560 www.overturenetworks.com