- Qt Creator Documentation
- Create SSH connections to VxWorks devices
- Qt Creator 18.0.2

Run applications in a web browser ◦ Create kits for VxWorks devices

# 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, and Qt for VxWorks.