Stvaranje SSH veza s VxWorks uređajima
Da biste pokrenuli SSH poslužitelj na VxWorks uređaju, morate ga konfigurirati, kako je opisano u sljedećim odjeljcima.
Napomena: Omogućite VxWorks dodatak da biste ga koristili.
Konfigurirajte VxWorks izvorni build
Postavite sljedeće ključeve u VxWorks Source Build (VSB):
"USER_MANAGEMENT" "USER_MANAGEMENT_USER_PRIVILEGES"
Konfigurirajte VxWorks jezgru
Dodajte sljedeće uključke u konfiguraciju VxWorks kernela (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"
Stvorite skriptu pokretanja
U skripti pokretanja postavite upravljanje korisnicima i pokrenite SSH poslužitelj.
Primjer početne skripte:
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"
Testirajte vezu
Za testiranje veze iz terminala navedite algoritme ključeva za nju (jer VxWorks koristi stare ključeve):
ssh -oHostKeyAlgorithms=+ssh-rsa -lWindRiver 192.168.0.3
Vidi također Omogućavanje i onemogućavanje dodataka, Kako: VxWorks, Debugiranje, Razvoj za VxWorks i Qt za 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.