I have mentioned the command which help me to run ubuntu core But but i am facing problem configure the network settings. Can anyone suggest me how can i bridge the network . and once this is resolved i can ssh on Ubuntu core. OR you have an another idea then you can guide me .
I also build the Ubuntu-core-image.img (kernel, gadget… snaps) and dd to the external drive. But i have not a raspberry Pi board.
If all you want to do is connect via ssh, and have basic egress from the virtual process then the command you have above is fine.
It specifies user networking, so no bridge is required, it’s all done via a userland process something called Slirp. User network supports packet forwarding for tcp and udp protocols, and in the above command you are doing that for ssh and standard http ports: hostfwd=tcp::8022-:22,hostfwd=tcp::8090-:80
All you need to do to connect via ssh is:
ssh someone@localhost -p 8022
You will need to have configured the user via console-conf fist though, otherwise there is no user to ssh as.