0

CentOS SSH

I've been trying to SSH to my CentOS VM from Windows 10 using both Powershell and putty but I keep getting connection timed out error. Tried enabling ssh-client on powershell, gave static IP to my VM, configure the firewall, and enabled a Host-Only network for the VM but still keep getting the error and can't SSH. Any advice?

15th Sep 2018, 9:56 AM
Arby Danyelians
Arby Danyelians - avatar
6 Answers
0
how you cewated the vms. Means using which software??
16th Sep 2018, 4:08 AM
Gulshan Kumar Singh
Gulshan Kumar Singh - avatar
0
I have the VM in Oracle virtual box
16th Sep 2018, 9:23 PM
Arby Danyelians
Arby Danyelians - avatar
0
what type of networking you selected, is it bridged or NAT
16th Sep 2018, 9:29 PM
Gulshan Kumar Singh
Gulshan Kumar Singh - avatar
0
it's NAT and i added port forwarding rules
16th Sep 2018, 9:30 PM
Arby Danyelians
Arby Danyelians - avatar
0
port forwarding don't work all the time. You also have to define the path. I also faces the same problem. You can ssh you system from VM but not the opposite of it. I suggest you to establish a bridged network to ssh your VM.
16th Sep 2018, 9:33 PM
Gulshan Kumar Singh
Gulshan Kumar Singh - avatar
0
Thank you will do as soon as i get a chance.
16th Sep 2018, 9:36 PM
Arby Danyelians
Arby Danyelians - avatar