Create SSH connections to VxWorks devices
To run an SSH server on the VxWorks device, you need to configure it, as described in the following sections.
Note: Enable the VxWorks plugin to use it.
Configure the VxWorks source build
Set the following keys in the VxWorks Source Build (VSB):
"USER_MANAGEMENT" "USER_MANAGEMENT_USER_PRIVILEGES"
Configure the VxWorks kernel
Add the following includes to the VxWorks Kernel configuration (VIP):
"INCLUDE_IPSSH_CLIENT_CMD" "INCLUDE_SHELL_SECURITY" "INCLUDE_USER_DATABASE" "INCLUDE_USER_IDENTIFICATION" "INCLUDE_USER_PRIVILEGES" "INCLUDE_USER_MGT_SHELL_CMD" "INCLUDE_SEC_KEY_STORE_CMD" "INCLUDE_SHELL" "INCLUDE_SSH" "INCLUDE_IPD_CMD"
Create a startup script
In the startup script, set up user management and starting the SSH server.
An example startup script:
cp "/romfs/ssh/keys/WindRiver.pk2","/ram" cmd keyStore import default_rsa /romfs/ssh/keys/default_rsa.pem cmd keyStore import default_dsa /romfs/ssh/keys/default_dsa.pem cmd ipd start ipssh udbReset userAdd "WindRiver","vxTarget"
Test the connection
To test the connection from the terminal, specify the key algorithms for it (because VxWorks uses old keys):
ssh -oHostKeyAlgorithms=+ssh-rsa -lWindRiver 192.168.0.3
See also Enable and disable plugins, How to: VxWorks, Debugging, Developing for VxWorks, and Qt for VxWorks.
Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.