Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - sshd: (2 Items)
   
sshd  
Trying to setup sshd on QNx6.6, iMX6Q Sabre-Lite board. Works fine on 6.5SP1 with the same config. When I try to ssh 
from target to target I get the following error (sshing to myself):
 ssh -vvv root@192.9.210.60
OpenSSH_5.9 QNX_Secure_Shell-20120127, OpenSSL 1.0.1c 10 May 2012
debug1: Reading configuration data /etc/ssh/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to 192.9.210.60 [192.9.210.60] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: identity file /root/.ssh/id_rsa type -1
debug1: identity file /root/.ssh/id_rsa-cert type -1
debug1: identity file /root/.ssh/id_dsa type -1
debug1: identity file /root/.ssh/id_dsa-cert type -1
debug1: identity file /root/.ssh/id_ecdsa type -1
debug1: identity file /root/.ssh/id_ecdsa-cert type -1
debug1: ssh_exchange_identification: in.sshd: illegal option --


debug1: ssh_exchange_identification: OpenSSH_5.9 QNX_Secure_Shell-20120127, OpenSSL 1.0.1c 10 May 2012

debug1: ssh_exchange_identification: usage: sshd [-46DdeiqTt] [-b bits] [-C connection_spec] [-c host_cert_file]

debug1: ssh_exchange_identification:             [-f config_file] [-g login_grace_time] [-h host_key_file]

debug1: ssh_exchange_identification:             [-k key_gen_time] [-o option] [-p port] [-u len]

ssh_exchange_identification: Connection closed by remote host


inetd configuration is:
ssh stream tcp nowait root /usr/sbin/sshd in.sshd -i

Using default ssh & sshd config files from qnx6.6.

Any ideas ? Thanks.
Re: sshd  
Try removing sshd from inetd conf and run one shot '/usr/sbin/sshd -d'
to see if any extra info is logged.

On Fri, Jun 06, 2014 at 02:33:53PM -0400, Thomas Merics wrote:
> Trying to setup sshd on QNx6.6, iMX6Q Sabre-Lite board. Works fine on 6.5SP1 with the same config. When I try to ssh 
from target to target I get the following error (sshing to myself):
>  ssh -vvv root@192.9.210.60
> OpenSSH_5.9 QNX_Secure_Shell-20120127, OpenSSL 1.0.1c 10 May 2012
> debug1: Reading configuration data /etc/ssh/ssh_config
> debug2: ssh_connect: needpriv 0
> debug1: Connecting to 192.9.210.60 [192.9.210.60] port 22.
> debug1: Connection established.
> debug1: permanently_set_uid: 0/0
> debug1: identity file /root/.ssh/id_rsa type -1
> debug1: identity file /root/.ssh/id_rsa-cert type -1
> debug1: identity file /root/.ssh/id_dsa type -1
> debug1: identity file /root/.ssh/id_dsa-cert type -1
> debug1: identity file /root/.ssh/id_ecdsa type -1
> debug1: identity file /root/.ssh/id_ecdsa-cert type -1
> debug1: ssh_exchange_identification: in.sshd: illegal option --
> 
> 
> debug1: ssh_exchange_identification: OpenSSH_5.9 QNX_Secure_Shell-20120127, OpenSSL 1.0.1c 10 May 2012
> 
> debug1: ssh_exchange_identification: usage: sshd [-46DdeiqTt] [-b bits] [-C connection_spec] [-c host_cert_file]
> 
> debug1: ssh_exchange_identification:             [-f config_file] [-g login_grace_time] [-h host_key_file]
> 
> debug1: ssh_exchange_identification:             [-k key_gen_time] [-o option] [-p port] [-u len]
> 
> ssh_exchange_identification: Connection closed by remote host
> 
> 
> inetd configuration is:
> ssh stream tcp nowait root /usr/sbin/sshd in.sshd -i
> 
> Using default ssh & sshd config files from qnx6.6.
> 
> Any ideas ? Thanks.
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post110624
> To cancel your subscription to this discussion, please e-mail general-toolchain-unsubscribe@community.qnx.com