1. Make sure proper network adapter is set up on CentOS Virtual Machine.
systemctl status network.service
If not, please make sure following Network Adapter setting is set up for CentOS VM:
After setting up the above, please issue a network restart:
service network restart
2. Get private IP of the CentOS VM to us for connecting:
ifconfig
In the picture above, private IP is 172.16.1.128
3. Open Mac OS Terminal and ssh to the CentOS VM instance:
ssh user@172.16.1.128
4. That's it. You are now connected.
No comments:
Post a Comment