How do you install an ssh server on qnx?

后端 未结 8 2133
抹茶落季
抹茶落季 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:24

    On a stock 6.5, 6.5.0SP1 or 6.6 system all you need to do is create your keys:
    ssh-keygen -tdsa -f/etc/ssh/ssh_host_dsa_key
    ssh-keygen -trsa -f/etc/ssh/ssh_host_rsa_key

    Then start the sshd server (you need to specify the full path):
    /usr/sbin/sshd
    If something isn't working start the server with debug output enabled and the problem should become obvious: /usr/sbin/sshd -ffffd

提交回复
热议问题