Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Enabling SSH and/or remote access (VNC and such) momentric 6.3.2: (9 Items)
   
Enabling SSH and/or remote access (VNC and such) momentric 6.3.2  
Hello,
I am running into difficulty SSH from Windows XP (using putty) or linux (sshd) to momentric 6.3.2 host.  I am hoping 
anyone would help me

Firewall is been turned off in this environment

Error "ssh: connect to host qnx1.asd.com port 22: connection refused

Question:
1) Is momentric 6.3.2 has ip-filtering, firewall, nat builtin -->how do I turn it off?

2} Is sshd (SSH daemon) installed by default? where and how to get it?

3) The remote access is enabled on this qnx, what tools do you connect the qnx with (I tried VNC viewer it failed, I 
dont know where to obtain/download Phindows)?

I just like to connect to this QNX host remotely, Thank you 

RE: Enabling SSH and/or remote access (VNC and such) momentric 6. 3.2  
Option 2 is your problem.  It isn't installed on the system.  If you launch
the QNX installer and go to the QNX WWW repository, OpenSSH 3.7.1p1 is
available from there.

I haven't installed things myself (there's other setup that needs to be
taken care of as well as just installing the package and running sshd...)
There's this link http://www.openqnx.com/PNphpBB2-viewtopic-t1591-.html that
talks about QNX4 (a pervious generation of the OS) that might also provide
some insight in to how to do this.


	Robert.


-----Original Message-----
From: Bud Utomo [mailto:budix.utomo@intel.com] 
Sent: Friday, February 15, 2008 2:14 PM
To: momenticsgs-community
Subject: Enabling SSH and/or remote access (VNC and such) momentric 6.3.2

Hello,
I am running into difficulty SSH from Windows XP (using putty) or linux
(sshd) to momentric 6.3.2 host.  I am hoping anyone would help me

Firewall is been turned off in this environment

Error "ssh: connect to host qnx1.asd.com port 22: connection refused

Question:
1) Is momentric 6.3.2 has ip-filtering, firewall, nat builtin -->how do I
turn it off?

2} Is sshd (SSH daemon) installed by default? where and how to get it?

3) The remote access is enabled on this qnx, what tools do you connect the
qnx with (I tried VNC viewer it failed, I dont know where to obtain/download
Phindows)?

I just like to connect to this QNX host remotely, Thank you 



_______________________________________________
QNX Momentics Getting Started
http://community.qnx.com/sf/go/post5069
Re: RE: Enabling SSH and/or remote access (VNC and such) momentric 6. 3.2  
Thank you for the reply

Is there any place I could download the repository on CD (ISO images) or thumb drive
instead of using the QNX installation to fetch the data?


Bud
RE: RE: Enabling SSH and/or remote access (VNC and such) momentri c 6. 3.2  
Pretty sure it's here:

http://www.qnx.com/download/feature.html?programid=9604

(say 621, but I believe it's the same one).

Just as a side note, the pkgsrc project may also have SSH included.  This
takes a bit more work to get going but will also let you install a ton of
other open source software for x86. 

-----Original Message-----
From: Bud Utomo [mailto:budix.utomo@intel.com] 
Sent: Friday, February 15, 2008 4:45 PM
To: momenticsgs-community
Subject: Re: RE: Enabling SSH and/or remote access (VNC and such) momentric
6. 3.2

Thank you for the reply

Is there any place I could download the repository on CD (ISO images) or
thumb drive
instead of using the QNX installation to fetch the data?


Bud

_______________________________________________
QNX Momentics Getting Started
http://community.qnx.com/sf/go/post5081
Re: RE: RE: Enabling SSH and/or remote access (VNC and such) momentri c 6. 3.2  
Thanks again,

Those link is really usefull, especially when your company proxy and router only pass certain port/trafic.  I can go out
 using Mozilla on the QNX host but QNX install wont fetch.  Download and burn, here i come :-)

Bud
Re: RE: RE: Enabling SSH and/or remote access (VNC and such) momentri c 6. 3.2  
the library have to be reassociated using softlink, openssh is installed 
and finally, my QNX box can ssh to any other linux box.

The problem now is: I can not ssh into the QNX box 
(same error) port 22: connection refused
There are no firewall enabled on the other linux box, 

is the QNX has default firewall/SE linux/IP-nat feaure?  How do I turn it off?

QNX momentrics 6.3.2
RE: RE: RE: Enabling SSH and/or remote access (VNC and such) mome ntri c 6. 3.2  
You have the client side functionality working, but you still have to set up
the server side (sshd).  The link that I gave previously on this should help
you to get that working.

	Robert.

-----Original Message-----
From: Bud Utomo [mailto:budix.utomo@intel.com] 
Sent: Wednesday, February 20, 2008 4:07 PM
To: momenticsgs-community
Subject: Re: RE: RE: Enabling SSH and/or remote access (VNC and such)
momentri c 6. 3.2

the library have to be reassociated using softlink, openssh is installed 
and finally, my QNX box can ssh to any other linux box.

The problem now is: I can not ssh into the QNX box 
(same error) port 22: connection refused
There are no firewall enabled on the other linux box, 

is the QNX has default firewall/SE linux/IP-nat feaure?  How do I turn it
off?

QNX momentrics 6.3.2

_______________________________________________
QNX Momentics Getting Started
http://community.qnx.com/sf/go/post5158
Re: RE: RE: Enabling SSH and/or remote access (VNC and such) momentri c 6. 3.2  
On Wed, Feb 20, 2008 at 04:06:32PM -0500, Bud Utomo wrote:
> the library have to be reassociated using softlink, openssh is installed 
> and finally, my QNX box can ssh to any other linux box.
> 
> The problem now is: I can not ssh into the QNX box 
> (same error) port 22: connection refused
> There are no firewall enabled on the other linux box, 
> 
> is the QNX has default firewall/SE linux/IP-nat feaure?  How do I turn it off?
> 

No default firewall etc.

You have to start sshd somewhere.  Usually this is run once,
not via inetd  This may also involve setting up the host
keys on the QNX box via ssh-keygen (once).

eg usually something like
# ssh-keygen -t rsa -b1024 -f /etc/ssh/ssh_host_rsa_key
# ssh-keygen -t dsa -b1024 -f /etc/ssh/ssh_host_dsa_key
<no passphrase for host keys when prompted>
# /usr/sbin/sshd

However I'm not sure how your version was configured
so the above paths may not be correct.

-seanb
Re: RE: RE: Enabling SSH and/or remote access (VNC and such) momentri c 6. 3.2  
Thank you, without you guys i m going no where (i dont know what to look for in QNX).  I managed to figure out the host 
key fingerprint generator too.

# ssh-keygen -t rsa1 -f /etc/openssh/ssh_host_key
# ssh-keygen -t rsa -b1024 -f /etc/openssh/ssh_host_rsa_key
# ssh-keygen -t dsa -b1024 -f /etc/openssh/ssh_host_dsa_key
<no passphrase for host keys when prompted>
# /root/sshd (I untared the tarball openssh on root)

That work for me. hope this would help someone out there.  I also installed bash shells, vim and other utilities.