Installing SSH on QNX Neutrino 6.3.2

Hi everybody

Someone knows how can I install and use SSH at QNX Neutrino 6.3.2?

Thanks in advance!

And also need the version of the ssh that I must install.

Thanks

LOL, I want to know the answer too. I’ve been agonizing over this for two years. My suggestion, if you can just upgrade to 6.5. It comes installed.

Not if I could. I must use this version because of my work.

Hi everybody.

I’m losing the hope. Anyone knows how to do this?

Regards!

Does this not install on 6.3.2 (openssh 3.7.1)?

It installs on my 6.3.0 SP3 which is supposed to be the equivalent of 6.3.2.

download.qnx.com/contrib/repository621a/

I have ZERO idea if it’s the latest/greatest ssh that could potentially run under 6.3.2. It’s merely the last version provided on the 3rd party CD that the installer can install.

Tim

Well I tried this and I’m somewhat closer. I couldn’t figure out how to install the file from the link so I downloaded the whole CD from QNX and installed from there.

The error message was

Could Not Find libcrypto.so.1

So I linked it in from the existing libcrypto.so.0.9.7

Then the error was

Could not find library libc.so.3

So linked libc.so.2 to libc.so.3

Then I got a list of unresolved symbols including:

EVP_CIPER_CTX_iv_length
_getshort

I assume this is what is missing in crypto 0.9.7.

I looked around for a better version of crypto. The last pkgsrc I have a copy of had 0.9.8 which I did not try.

This is very strange because we’re talking about a 6.2.1 port, yet the current crypto is inadequate???

Mitchell

I just ran the installer program under 6.3.0 SP3 and installed openssh + openssl.

After installing via the installer I ran ssh from the command line and it ran just fine.

Here is the log from the installer if it helps.

11:00:29 STATUS: Log file started on 2011-02-14 – QNX Software Installer
11:00:29 STATUS: Session started by the qnxinstall (qnx6) using libpackage 2.6 (May 7 2004 12:47:39 build)
11:00:29 STATUS: Downloading provided by libsqurl 1.0 using libcurl 7.9.8
11:00:29 STATUS: Using temporary directory (/tmp)
11:00:29 STATUS: Deleting orphaned temporary directories
11:00:29 STATUS: Installation Block identified [ACTIVE] [RUNNING] (“Installed Software” block host ‘/’ target ‘/’)
11:00:29 STATUS: Proxy deactivated
11:00:29 STATUS: Loading installed QRM (/pkgs/repository)
11:00:29 STATUS: Installed repository has been added (“User Software” at /pkgs/repository)
11:00:29 STATUS: Opening installed repository… (“User Software” at /pkgs/repository)
11:00:31 STATUS: Saving installed QRM to /etc/system/package/installed/b19f8bc4c5fff2f0ea12229dffe594ab.qrm (“User Software” at /pkgs/repository)
11:00:31 STATUS: Installed repository has been parsed (117 packages)
11:00:31 STATUS: Loading installed QRM (/pkgs/base)
11:00:31 STATUS: Installed repository has been added (“Core Software” at /pkgs/base)
11:00:31 STATUS: Opening installed repository… (“Core Software” at /pkgs/base)
11:00:31 STATUS: Saving installed QRM to /etc/system/package/installed/b62ffa80e250fbd6e661a1948c473789.qrm (“Core Software” at /pkgs/base)
11:00:31 STATUS: Installed repository has been parsed (1 package)
11:00:31 STATUS: Cannot uninstall this package (photon3d-slib-6.1-x86-qnx) because circuslinux-1.0.3-bld2-x86-public depends on it (requires that a package with a “ProvidesLibrary” of libGL.so.2 and a “Processor” of x86 also be installed.)
11:00:31 STATUS: Cannot uninstall this package (xf86-lib-slib-4.2-x86-public) because GNUEmacs-21.2-bld8-x86-GNU depends on it (requires that a package with a “ProvidesLibrary” of libX11.so.6 and a “Processor” of x86 also be installed.)
11:00:31 STATUS: Cannot uninstall this package (openssl-slib-0.9.7-x86-public) because samba-2.2.7a-bld3-x86-public depends on it (requires that a package with a “ProvidesLibrary” of libcrypto.so.0.9.7 and a “Processor” of x86 also be installed.)
11:00:31 STATUS: Cannot uninstall this package (libjpeg-slib-6b-x86-public) because sdlimage-slib-1.2.3-bld2-x86-public depends on it (requires that a package with a “ProvidesLibrary” of libjpeg.so.62 and a “Processor” of x86 also be installed.)
11:00:31 STATUS: Cannot uninstall this package (libiconv-slib-1.7-bld2-x86-public) because gaim-0.59.8-x86-public depends on it (requires that a package with a “ProvidesLibrary” of libiconv.so.2 and a “Processor” of x86 also be installed.)
11:00:31 STATUS: Cannot uninstall this package (db-4.0.14-bld2-x86-public) because perl-5.8.0-bld2-x86-public depends on it (requires that a package with a “ProvidesLibrary” of libdb-4.0.so and a “Processor” of x86 also be installed.)
11:00:31 STATUS: Cannot uninstall this package (PGLib-slib-1.1-x86-JF) because JFSolitaire-1.0-x86-JF depends on it (requires that a package with a “ProvidesLibrary” of libPGI.so.1 and a “Processor” of x86 also be installed.)
11:00:54 STATUS: Refreshing repository packages.qnx.com)
11:00:54 STATUS: Opening repository… (“QNX WWW Repository” at packages.qnx.com)
11:00:54 STATUS: Loading remote QRM (“QNX WWW Repository” at packages.qnx.com)
11:00:55 STATUS: Opening repository… (“3rd-Party 6.2.1 Software” at download.qnx.com/contrib/repository621a)
11:00:56 STATUS: Loading remote QRM (“3rd-Party 6.2.1 Software” at download.qnx.com/contrib/repository621a)
11:00:56 STATUS: Download content.tgz using connection download.qnx.com/contrib/repository621a)
11:01:07 WARNING: Manifest definition of QPM:ReleaseUrgency is unrecognized (OpenSSH 3.7.1p1 Stable)
11:01:07 WARNING: Manifest definition of QPM:ReleaseUrgency is unrecognized (OpenSSH 3.7.1p1 Stable targeting x86)
11:01:08 WARNING: Manifest definition of QPM:DependencyType is unrecognized (MozillaThunderbird 0.4 Stable build 5)
11:01:08 WARNING: Manifest definition of QPM:DependencyType is unrecognized (MozillaThunderbird 0.4 Stable build 5 targeting x86)
11:01:09 STATUS: Repository has been opened (634 packages)
11:01:10 WARNING: File not found: snes9x-1.39-JF.repdata/ProductIconSmall/snes9x_sicon.gif–The requested file was not found (“3rd-Party 6.2.1 Software” at download.qnx.com/contrib/repository621a)
11:01:10 WARNING: Explicit download failed–snes9x-1.39-JF.repdata/ProductIconSmall/snes9x_sicon.gif [download.qnx.com/contrib/repository621a]
11:01:10 WARNING: File not found: pm_icons.gif–The requested file was not found (PhFTP)
11:01:10 WARNING: Explicit download failed–pm_icons.gif [joher.com/phftp]
11:01:10 WARNING: File not found: pm_icons.gif–The requested file was not found (PhAster)
11:01:10 WARNING: Explicit download failed–pm_icons.gif [joher.com/phaster]
11:01:11 STATUS: Saving remote QRM to /etc/system/package/sources/QSSL-Unsupported.qrm (“3rd-Party 6.2.1 Software” at download.qnx.com/contrib/repository621a)
11:01:11 STATUS: repository_open is complete (“3rd-Party 6.2.1 Software” at download.qnx.com/contrib/repository621a)
11:02:59 STATUS: Dependency check started…
11:02:59 STATUS: Dependency check completed (fully satisfied)
11:03:09 STATUS: Reading license file [/etc/system/package/licenses] for this block (“Installed Software” block host ‘/’ target ‘/’)
11:03:10 WARNING: Explicit download failed–default.repdata/ProductHomeURL/index.html [download.qnx.com/contrib/repository621a]
11:03:10 STATUS: Final check prior to performing actions
11:03:10 STATUS: Actions being performed…
11:03:10 STATUS: Reading license file [/etc/system/package/licenses] for this block (“Installed Software” block host ‘/’ target ‘/’)
11:03:10 STATUS: Largest QPK is 660 KB
11:03:10 STATUS: FREE temporary disk space on /tmp = 10 GB
11:03:10 STATUS: REQUIRED temporary disk space on /tmp = 2.2 MB
11:03:10 STATUS: FREE disk space on /pkgs/repository = 10 GB
11:03:10 STATUS: REQUIRED disk space on /pkgs/repository = 7.9 MB
11:03:10 STATUS: Package “openssl-dev_x86-0.9.7-public” is selected to be installed in “Installed Software” by the operator. (OpenSSL development 0.9.7 Stable targeting x86)
11:03:10 STATUS: Package “openssl-dev-0.9.7-public” is selected to be installed in “Installed Software” by dependency because of “OpenSSL development (x86) version 0.9.7 Stable” (openssl-dev_x86-0.9.7-public). Since a target-specific core package is being installed, the corresponding target-independent core package is also required. (OpenSSL development 0.9.7 Stable)
11:03:10 STATUS: Package “openssl-0.9.7-x86-public” is selected to be installed in “Installed Software” by the operator. (OpenSSL 0.9.7 Stable targeting x86)
11:03:10 STATUS: Package “openssl-0.9.7-public” is selected to be installed in “Installed Software” by dependency because of “OpenSSL (x86) version 0.9.7 Stable” (openssl-0.9.7-x86-public), which requires that a package with a “ProductIdentifier” of openssl and a “ReleaseVersion” of 0.9.7 and a “ReleaseBuild” of 1 and a “PackageReleaseNumber” of 1 and a “ReleaseStability” of Stable and a “VendorInstallName” of public also be installed. (Components require their component parent also be installed.) (OpenSSL 0.9.7 Stable)
11:03:10 STATUS: Package “openssh-3.7.1p1-x86-public” is selected to be installed in “Installed Software” by the operator. (OpenSSH 3.7.1p1 Stable targeting x86)
11:03:10 STATUS: Package “openssh-3.7.1p1-public” is selected to be installed in “Installed Software” by dependency because of “OpenSSH (x86) version 3.7.1p1 Stable” (openssh-3.7.1p1-x86-public), which requires that a package with a “ProductIdentifier” of openssh and a “ReleaseVersion” of 3.7.1p1 and a “ReleaseBuild” of 1 and a “PackageReleaseNumber” of 1 and a “ReleaseStability” of Stable and a “VendorInstallName” of public also be installed. (Components require their component parent also be installed.) (OpenSSH 3.7.1p1 Stable)
11:03:10 STATUS: Performing preliminary actions in this repository… (“3rd-Party 6.2.1 Software” at download.qnx.com/contrib/repository621a)
11:03:14 STATUS: Install package MANIFEST [/tmp/pkg-cache/665f94f968742a789f4b20c9a39c1573/openssl-dev_x86-0.9.7-public.qpk] (OpenSSL development 0.9.7 Stable targeting x86)
11:03:15 STATUS: Install package MANIFEST [/tmp/pkg-cache/665f94f968742a789f4b20c9a39c1573/openssl-dev-0.9.7-public.qpk] (OpenSSL development 0.9.7 Stable)
11:03:19 STATUS: Install package MANIFEST [/tmp/pkg-cache/665f94f968742a789f4b20c9a39c1573/openssl-0.9.7-x86-public.qpk] (OpenSSL 0.9.7 Stable targeting x86)
11:03:21 STATUS: Install package MANIFEST [/tmp/pkg-cache/665f94f968742a789f4b20c9a39c1573/openssl-0.9.7-public.qpk] (OpenSSL 0.9.7 Stable)
11:03:25 STATUS: Install package MANIFEST [/tmp/pkg-cache/665f94f968742a789f4b20c9a39c1573/openssh-3.7.1p1-x86-public.qpk] (OpenSSH 3.7.1p1 Stable targeting x86)
11:03:25 STATUS: Install package MANIFEST [/tmp/pkg-cache/665f94f968742a789f4b20c9a39c1573/openssh-3.7.1p1-public.qpk] (OpenSSH 3.7.1p1 Stable)
11:03:25 STATUS: Preliminary actions complete for this repository
11:03:25 STATUS: Generating required QPF files
11:03:25 STATUS: Adding sort element and core packages in repository (“User Software” at /pkgs/repository)
11:03:25 STATUS: Saving installed QRM to /etc/system/package/installed/b19f8bc4c5fff2f0ea12229dffe594ab.qrm (“User Software” at /pkgs/repository)
11:03:25 STATUS: 123 packages in repository; 68 active; 0 inactive (“User Software” at /pkgs/repository)
11:03:25 STATUS: Adding sort element and core packages in repository (“Core Software” at /pkgs/base)
11:03:25 STATUS: Saving installed QRM to /etc/system/package/installed/b62ffa80e250fbd6e661a1948c473789.qrm (“Core Software” at /pkgs/base)
11:03:25 STATUS: 1 packages in repository; 69 active; 0 inactive (“Core Software” at /pkgs/base)
11:03:25 STATUS: Saved proposed QPF file (/etc/system/package/packages.proposed)
11:03:25 STATUS: Opening QPF (/etc/system/package/packages)
11:03:25 STATUS: Parsing primary QPF file
11:03:26 STATUS: Parsing primary QPM files
11:03:27 WARNING: Unresolvable symlink (libdb-4.0.a) (Berkeley DB 4.0.14 Stable build 2)
11:03:27 STATUS: Opening QPF (/etc/system/package/packages.proposed)
11:03:27 STATUS: Parsing proposed QPF file
11:03:27 STATUS: Parsing proposed QPM files
11:03:27 WARNING: Unresolvable symlink (libcrypto.so.0) (OpenSSL 0.9.7 Stable)
11:03:27 WARNING: Unresolvable symlink (libdb-4.0.a) (Berkeley DB 4.0.14 Stable build 2)
11:03:27 WARNING: Unresolvable symlink (libssl.so.0) (OpenSSL 0.9.7 Stable)
11:03:27 STATUS: Comparing QPF files (/etc/system/package/packages vs. /etc/system/package/packages.proposed)
11:03:27 STATUS: Comparing individual files
11:03:28 STATUS: Locating required packages
11:03:28 STATUS: Package summary complete (identified 6 of 6 packages)
11:03:28 STATUS: Gathering required QPKs in repository… (“3rd-Party 6.2.1 Software” at download.qnx.com/contrib/repository621a)
11:03:28 STATUS: Created temporary directory (/tmp/plib580363) to hold the located QPK(s)
11:03:28 STATUS: 6 QPKs’ locations relayed to pkgdiff for file extraction (“3rd-Party 6.2.1 Software” at download.qnx.com/contrib/repository621a)
11:03:28 STATUS: Moving files to/from disk
11:03:28 STATUS: Deleting temporary QPK (/tmp/plib580363/openssl-dev_x86-0.9.7-public.qpk)
11:03:28 STATUS: Deleting temporary QPK (/tmp/plib580363/openssh-3.7.1p1-x86-public.qpk)
11:03:28 STATUS: Deleting temporary QPK (/tmp/plib580363/openssl-dev-0.9.7-public.qpk)
11:03:29 WARNING: Not found in QPK (/opt/lib/libcrypto.so)
11:03:29 WARNING: Not found in QPK (/opt/lib/libssl.so)
11:03:29 STATUS: Deleting temporary QPK (/tmp/plib580363/openssl-0.9.7-public.qpk)
11:03:29 STATUS: Deleting temporary QPK (/tmp/plib580363/openssh-3.7.1p1-public.qpk)
11:03:29 STATUS: Deleting temporary QPK (/tmp/plib580363/openssl-0.9.7-x86-public.qpk)
11:03:29 STATUS: Applying unions and symlinks
11:03:30 STATUS: Saved proposed QPF as current (/etc/system/package/packages)
11:03:30 STATUS: Post commit for kept original files
11:03:30 STATUS: Action for OpenSSL development 0.9.7 Stable targeting x86 (has been successfully installed)
11:03:30 STATUS: Action for OpenSSL development 0.9.7 Stable (has been successfully installed)
11:03:30 STATUS: Action for OpenSSL 0.9.7 Stable targeting x86 (has been successfully installed)
11:03:30 STATUS: Action for OpenSSL 0.9.7 Stable (has been successfully installed)
11:03:30 STATUS: Action for OpenSSH 3.7.1p1 Stable targeting x86 (has been successfully installed)
11:03:30 STATUS: Action for OpenSSH 3.7.1p1 Stable (has been successfully installed)
11:03:30 STATUS: Saving installed QRM to /etc/system/package/installed/b19f8bc4c5fff2f0ea12229dffe594ab.qrm (“User Software” at /pkgs/repository)
11:03:30 STATUS: Actions completed
11:03:31 STATUS: Actions successfully completed.

Tim

Tim,

 Interesting, you are using crypto 0.9.7 succesfully?   It is not working with the version of ssh that I installed from the 3rd party disk.

BTW: when I just ran the installer and pointed at the qnx repository, after downloading everything, the installer always crashes. I installed from the downloadable CD.

Mitchell

Mitchell,

My installer crashed as well (several times in a row). It never used to do that.

I fixed it by first clicking on the installed software (core/user) links above then clicking on the repository. Don’t ask me what difference that makes but somehow it finally let me browse the online repository.

And yes, I am working successfully with 0.9.7 (installed a couple of years ago when I installed Samba as you can see in the logs it says it’s already there). But remember I am running 6.3.0 SP3 which is technically the same as 6.3.2 but does have slightly different compiled libraries (in some cases).

I can post my crypto if you want to try it.

Tim

Tim,

Thanks but I already have crypto 0.9.7 running.   The software wanted a different version.    I linked 0.9.7 so it looked like it was that version but there were symbols missing.

Mitchell

Mitchell,

Maybe those symbols are in another shared library?

Here’s my output of ‘ldd /opt/bin/ssh’

libz.so.2 => /usr/lib/libz.so.2 (0xb8200000)
libsocket.so.2 => /lib/libsocket.so.2 (0xb820d000)
libcrypto.so.0.9.7 => /opt/lib/libcrypto.so.0.9.7 (0xb8231000)
libm.so.2 => /lib/libm.so.2 (0xb831c000)
libc.so.2 => /usr/lib/ldqnx.so.2 (0xb0300000)

Tim

The only difference I see when I run this command is no libm.so.2

Can I assume your which -l ssh gives the following output:

-rwxr-xr-x 1 root bin 205132 Sep 18 2003 /opt/bin/ssh

In which case it makes no sense that your ssh doesn’t depend on libm.so.2.

In any case, I suspect the problem is in libc. If I recall correctly that’s one of the libraries that was recompiled for 6.3.2 due to supporting multi-core functionality which is the primary difference between 6.3.0 SP3 and 6.3.2.

Here are my libraries. I suspect yours will all be the same except for libc in the boot image which is definitely difference in 6.3.2.

-rwxrwxr-x 1 root root 55638 May 05 2004 /usr/lib/libz.so.2
-rwxrwxr-x 1 root root 139272 May 05 2004 /lib/libsocket.so.2
-r-xr-xr-x 1 root bin 1103409 Jan 01 2003 /opt/lib/libcrypto.so.0.9.7
-rwxrwxr-x 1 root root 135201 May 05 2004 /lib/libm.so.2
-rwxrwxr-x 1 root root 376832 Aug 11 2005 /proc/boot/libc.so.2

Tim

uhhh, no. My ssh is 209084 bytes and dated Jan 1 2003. I guess the question is how to get the updated version. Is there a way to load the .qpk file that was linked to above?

I just did a find on my HD and there are no qpk files anywhere. The installer apparently just installs but doesn’t leave a copy of the package locally. So I am not sure how to get the qpk file.

Best I have is a MANIFEST and CHECKSUM file in my /pkgs/repository/public/openssh directory.

That and the ssh* executables themselves since the MANIFEST file lists exactly what it installed from the package.

I’ll be happy to zip those up if you want them since you have the same shared library objects already.

Tim

There’s a link at the top of this thread that points at a qpk file that can be downloaded. But I don’t know how to tell the installer to install that file? I only know how to point the installer at an archive.

Yes, if you can zip files and send them, it would be most appreciated. my email is maschoen_bot@pobox.com

Sent.

Now you can remove your email address before some bot steals it.

Tim

So for anyone interested now or in the future, the versions that I was sent worked just fine on QNX 6.3.2.

Thanks Tim :slight_smile:

Could you send them to me? My e-mail is …
Tks.