Establecer conexiones SSH con dispositivos VxWorks
Para ejecutar un servidor SSH en el dispositivo VxWorks, es necesario configurarlo tal y como se describe en las siguientes secciones.
Nota: Habilita el complemento de VxWorks para poder utilizarlo.
Configurar la compilación del código fuente de VxWorks
Establece las siguientes claves en la compilación del código fuente de VxWorks (VSB):
"USER_MANAGEMENT" "USER_MANAGEMENT_USER_PRIVILEGES"
Configurar el núcleo de VxWorks
Añade las siguientes inclusiones a la configuración del núcleo de VxWorks (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"
Crea un script de inicio
En el script de inicio, configura la gestión de usuarios y el inicio del servidor SSH.
Un ejemplo de script de inicio:
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"
Probar la conexión
Para probar la conexión desde el terminal, especifica los algoritmos de clave correspondientes (ya que VxWorks utiliza claves antiguas):
ssh -oHostKeyAlgorithms=+ssh-rsa -lWindRiver 192.168.0.3
Véase también Activar y desactivar complementos, Cómo: VxWorks, Depuración, Desarrollo para VxWorks y Qt para 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.