How do you install an ssh server on qnx?

后端 未结 8 2128
抹茶落季
抹茶落季 2021-02-08 19:51

I\'m working on a qnx device, and I want to be able to ssh into it. Does anyone have a primer on getting something like openSSH up and running?

8条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-08 20:01

    QNX have removed support for packages since version 6.4. This means that it is difficult to install SSH and SSL from the 3rd Party Applications CD, because the utilities required arent there anymore.

    It turns out their qpk file package is really just a tgz in disguise. So what you can do is untar the openssl and openssh packages. It will create a file structure like public/core-//opt All you need to do is copy all of the contents from /opt to /, and then add /opt/bin:/opt/sbin to your path, and /opt/lib to your LD_LIBRARY_PATH.

    Other things to note are:

    • your random number generator needs to be started (random -t)
    • you will need to set up a new /etc/openssh/sshd_config if you want to use the server, I copied mine from a Ubuntu machine
    • You will need to generate keys, there is lots of information on doing this online

    From what I have read, QNX 6.4.1 should come pre-installed with ssh. I am yet to confirm this

提交回复
热议问题