SSH access to provisioned unit
Introduction
Development AosCore Unit images contains enabled SSH. If the Unit was created with aos-prov
script with VirtualBox,
it uses NAT network to isolate itself. To access SSH you need to know forwarded port to outer network.
How to find SSH forwarded port for the Unit
To find forwarded port, first you have to know NAT network name, attached to the unit. To find the name open settings of the main node.
To do so click on main
VM and click settings
:
Go to the Network
tab on the left and on Adapter 1
tab you will find the Name:
Close settings window.
Open VirtualBox NetworkManager.
To open Open VirtualBox NetworkManager go to File
-> Tools
-> Network Manager
:
Here under the NAT Networks
tab, find name of your network and click on it. After select Port Forwarding
on the bottom tabs.
Here you can find entry named mainssh
. Number in the column Host Port
is what we looking for.
On the screen above it is 8860.
SSH to the Main node.
ssh root@localhost -p 8860
Password for the root
user is:
Password1
Default Credentials
User: root
, Password: Password1