This is quick start guide how to run ssh server on QNX. Tested on QNX 6.5
(650SP1-VM.tar).
This is not security best practice but this is only a test machine. Enable direct root ssh login to the machine.
To start ssh service interactively, do:
Use /usr/sbin/sshd -ddd to view debug output
To run sshd on start, add the following to /etc/rc.d/rc.local:
Reference:
http://www.qnx.com/developers/docs/660/index.jsp?topic=%2Fcom.qnx.doc.neutrino.utilities%2Ftopic%2Fs%2Fsshd.html
# ssh-keygen -t dsa -b 1024 -f /etc/ssh/ssh_host_dsa_key -N '' # ssh-keygen -t rsa -b 1024 -f /etc/ssh/ssh_host_rsa_key -N ''
This is not security best practice but this is only a test machine. Enable direct root ssh login to the machine.
# sed -i 's/#PermitRootLogin no/PermitRootLogin yes/g' /etc/ssh/sshd_config
To start ssh service interactively, do:
# /usr/sbin/sshd
Use /usr/sbin/sshd -ddd to view debug output
To run sshd on start, add the following to /etc/rc.d/rc.local:
/usr/sbin/sshd &
http://www.qnx.com/developers/docs/660/index.jsp?topic=%2Fcom.qnx.doc.neutrino.utilities%2Ftopic%2Fs%2Fsshd.html
Comments