Hi @Basem-Shoukry,
Try to use “Bridged network”, you have to choose the interface Wireless or Ethernet. Another point, be sure that openssh-server is installed and up on virtual machine.
The following guide can help you better understand networking on virtual box VirtualBox Network Settings: All You Need to Know