Accès ssh sur une VM naté sous virtualbox

De Linux Server Wiki
Révision datée du 7 juillet 2017 à 04:34 par Pfoo (discussion | contributions)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
Aller à la navigation Aller à la recherche


Pour une VM sous l'interface réseau e1000 :

VBoxManage setextradata Solaris10u6  "VBoxInternal/Devices/e1000/0/LUN#0/Config/ssh/Protocol" TCP
VBoxManage setextradata Solaris10u6  "VBoxInternal/Devices/e1000/0/LUN#0/Config/ssh/GuestPort" 22
VBoxManage setextradata Solaris10u6  "VBoxInternal/Devices/e1000/0/LUN#0/Config/ssh/HostPort" 2222