where can I get SSH server to qnx4

Hi,

Where can I get SSH server to QNX 4?

I found it in dora.eeap.cwru.edu/login/#Access%20from%20QNX
but I can’t untared the file ssh-1.2.26.tar.bz2

I suscessful installed bzip2.

Some Idea?

best Regards
Adriano Oliveira
Brazil

old version can be found at JC’s site:
jcmichot.usenet-fr.net/gnu/
all software there are compressed using bz2, so you will need to download the first file bzip2.tar.gz and install it. You can then uncompress the bz2 files with bunzip2 command, or you can do it in one step with
bzip2 -cd ssh-1.2.26.tar.bz2 | tar xvf -

btw, verify the cksum after you download the files to make sure they are not corrupted.

Hi noc,

I got install bzip2.
Now I’m need install gcc 2.8.1 for qnx4, but link jcmichot.usenet-fr.net/gcc/ was not found to gcc download.

do u know other place where can I find gcc 2.8.1 for qnx?

best Regars
Adriano Silva

just download EGCS 1.1.2 from there. It includes the newer GCC as well as the old 2.8.1

Hi noc,

there are a warning message.

**** WARNING ****
YOU MUST HAVE Watcom 10.6 allready installed to be able
to use EGCS or GNU C, C++, Pascal compilers.

Version 2.2 contain, Qnx4.25 ELF gcc/egcs compilers.

How can I see if I have Watcom 10.6 allready installed
at HPUX I use swlist command to list aplications already installed.
at SOLARIS I use pkginfo command to list application already installed
and at QNX what command I must use?

2/# uname -a
QNX 2 N 425 PCI 32

thanks

ls /etc/version
and see if you have wcc (watcom c compiler) and wpp (watcom c++ compiler) in there. If so, cat wcc and wpp to check out the versions.

Mr Noc,

now I’m need install a wcc or a wpp complier.
Do you know if this software are free?
If not where can I get it?

thanks
Adriano Silva

Based on qnx.com/howtobuy.html

hi Noc,
i am QNX4.25 new user
How to setup SSH on machines
thks :wink:

If you don’t mind the old ssh1, check out
openqnx.com/PNphpBB2-viewtopic-t3231-.html

For ssh2, you should either go with the commercial ssh from ssh.com or the free openssh. I may release a pre-compiled free openssh binary for QNX4 some day.

sorry Noc,
I have been get OpenSSH,
how to setup the ssh on QNX4.25
any document…??

thk u

That’s cool. The hardest part is the compilation/porting.
If you already have it ready and only need help on setup, it is much easier. Actually, it is no different from setting up in other Unix. The document on www.openssh.com should apply. Here is a setup script I got from Linux. Just run it and you will be set.


#!/bin/sh
if [ ! -d /etc/ssh ]; then
    /bin/mkdir /etc/ssh
fi
if [ -f "/etc/ssh/ssh_host_key" ] ; then
    echo "/etc/ssh/ssh_host_key already exists, skipping."
else
    /usr/local/bin/ssh-keygen -t rsa1 -f /etc/ssh/ssh_host_key -N ""
fi
if [ -f /etc/ssh/ssh_host_dsa_key ] ; then
    echo "/etc/ssh/ssh_host_dsa_key already exists, skipping."
else
    /usr/local/bin/ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N ""
fi
if [ -f /etc/ssh/ssh_host_rsa_key ] ; then
    echo "/etc/ssh/ssh_host_rsa_key already exists, skipping."
else
   /usr/local/bin/ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ""
fi

very nice to know you, Noc,

i am from Taiwan(R.O.C)
and i cann’t to write good english
(sorry)
so, i usually need very clear description .

now, i already got install bzip2
but i donn’t know
how to compile the SSH ?

thank your help very much

Compiling openssh on QNX 4 is not a trivial task.
If you don’t already have the pre-compiled binary, I would suggest you just install ssh1 from Tony: openqnx.com/PNphpBB2-viewtopic-t3231-.html

BTW, there is a Chinese QNX site at openqnx.com/chinese

PS: If you insist on playing with openssh, Andreas’ post below will be a good start:
openqnx.com/newsgroups/viewtopic.php?t=8910

Dear Noc,
What a good heart you have!
Thanks for your kind effort help.

Nice solution… great information to share…