Creazione di connessioni SSH ai dispositivi VxWorks
Per eseguire un server SSH sul dispositivo VxWorks, è necessario configurarlo come descritto nelle sezioni seguenti.
Nota: Abilitare il plugin VxWorks per poterlo utilizzare.
Configurare la compilazione del codice sorgente VxWorks
Impostare le seguenti chiavi nella compilazione del codice sorgente VxWorks (VSB):
"USER_MANAGEMENT" "USER_MANAGEMENT_USER_PRIVILEGES"
Configurare il kernel VxWorks
Aggiungere i seguenti include alla configurazione del kernel 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"
Creare uno script di avvio
Nello script di avvio, configurare la gestione degli utenti e l'avvio del server SSH.
Esempio di script di avvio:
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"
Verifica della connessione
Per testare la connessione dal terminale, specificare gli algoritmi delle chiavi (poiché VxWorks utilizza chiavi obsolete):
ssh -oHostKeyAlgorithms=+ssh-rsa -lWindRiver 192.168.0.3
Vedi anche Abilitare e disabilitare i plugin, Come fare per: VxWorks, Debug, Sviluppo per VxWorks e Qt per 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.