THANK YOU
The easiest way is probably to download the source from the
networking project:
community.qnx.com/sf/projects/networking
Build it as per the wiki page:
community.qnx.com/sf/wiki/do/vie … urce_Guide
Run it as any other ssh.
-seanb
I have compiled the code,Could you tell me how to start SSH?I don’t use it before
when I use “ssh start” or “ssh”,there’s some error message “unknow symbol”
This could be because a dynamic library that was expected to have the symbol does not. The name of the symbol can be helpful.
unknow symbol _res_state
unknow symbol _getshort
unknow symbol _getlong
could not resolve all symbols
These are in the 6.4 libsocket or the libsocket that
you built. See the “How do I use what I built?” section here
or run it on 6.4:
community.qnx.com/sf/wiki/do/vie … urce_Guide
-seanb
Does it only run on 6.4?how can I use it on 6.3.2?There are several error during compiling.
If you want to run it on 6.3.2 you have to run it against the libsocket
you built. As per my previous post, please see the “How do I use
what I built?” section.
community.qnx.com/sf/wiki/do/vie … urce_Guide
-seanb
sorry,I have read it,but I can’t understand it,Could you tell me the step I should do?thank you
I have installed SSH in my system,but when I start sshd,it reports “PRNG IS NOT SEED”,???
If I’ve built the entire networking tree to a staging
directory as per here:
community.qnx.com/sf/wiki/do/vie … urce_Guide
and I want to run from my stage, I use a script
like the following (my stage is /home/seanb/svn/stage):
cat ~/bin/st
#! /bin/sh
STAGE=${STAGE:-stage}
export LD_LIBRARY_PATH=
/home/seanb/svn/${STAGE}/x86/lib:
/home/seanb/svn/${STAGE}/x86/usr/lib:
/home/seanb/svn/${STAGE}/x86/lib/dll
export PATH=/home/seanb/svn/${STAGE}/x86/bin:
/home/seanb/svn/${STAGE}/x86/usr/bin:
/home/seanb/svn/${STAGE}/x86/usr/local/bin:
/home/seanb/svn/${STAGE}/x86/sbin:
/home/seanb/svn/${STAGE}/x86/usr/sbin:
$PATH
“$@”
which ssh
which: no sst in /proc/boot:/bin:/usr/bin:/sbin:/usr/sbin:/usr/pkg/bin:/usr/pkg/sbin:/opt/bin:/usr/local/bin:/usr/qnx632/host/qnx6/x86/usr/bin:/usr/qnx632/host/qnx6/x86/usr/sbin:/usr/qnx632/host/qnx6/x86/sbin:/usr/qnx632/host/qnx6/x86/bin:/usr/qnx632/host/qnx6/x86/usr/photon/appbuilder:/home/seanb/bin:/usr/photon/bin:/usr/photon/appbuilder:/opt/X11R6/bin:/usr/X11R6/bin
st which ssh
/home/seanb/svn/stage/x86/usr/bin/ssh
This works for ssh proper but there’s some components
that look to the root so depending on your usage you
may have to copy the results of your build from your
stage to the corresponding location under /. You’ll probably
still heve to set up LD_LIBRARY_PATH as above when
running them to pull in the right libsocket:
usr/bin/scp
usr/bin/sftp
usr/libexec/sftp-server
usr/bin/ssh
usr/bin/ssh-add
usr/bin/ssh-agent
usr/bin/ssh-keygen
usr/bin/ssh-keyscan
usr/libexec/ssh-keysign
usr/sbin/sshd
I have installed SSH in my system,but when I start sshd,it reports “PRNG IS NOT SEED”,???
You probably aren’t running the ‘random’ manager (no /dev/random).
-seanb