I’m trying to setup HomeLab using VirtualBox and I’m unable to ssh to the guest server(linux). Below are the steps done
I added virtual disk CentOs 9 version from the OSBoxes.org site
I ran ip address command like below but this was not adding the broadcast (0.0.0.0) sudo ip addr add 192.168.1.15 dev enp0s3 , so I ran the below one sudo ip addr add 192.168.1.15 broadcast 192.168.1.255 dev enp0s3
my sshd service is also running and listens to 0.0.0.0:22
What is that I’m doing wrong? I’m not sure on portmapping for this yet. Please help me with this
Thank for reaching out. I couldn’t attach more than 1 images due to some restrictions and now it is lifted.
I was following Linux basics under Docker Pre-requisites and was in setting up Home Labs using Virtual Box. I’m using CentOS 9 as the exact VDI images tutor was using couldn’t be found in the OsBox.org site and used latest. I was able to set up VirtualBox and VM was created and I was able to do basic operations, but when I tried accessing VM from host using ssh, I wasn’t able to do so via putty or MobaXterm, that’s when I realized network isn’t accessible inside VM. Please find Screenshots of N/W settings and terminal commands below. Please let me know if you need any more info other than this.
Network setting for VM (P.S.I’m using WiFi not wired)