LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   can't ssh from my host windows 7 to my guest centos on vm (https://www.linuxquestions.org/questions/linux-newbie-8/cant-ssh-from-my-host-windows-7-to-my-guest-centos-on-vm-4175519957/)

khalilfreemind 09-24-2014 03:09 PM

can't ssh from my host windows 7 to my guest centos on vm
 
I can ping on 8.8.8.8 but I can't ssh or update my centos installed on vm 9

suicidaleggroll 09-24-2014 03:14 PM

Is your VM set to NAT or bridged? What's the VM's IP and DNS? Is the sshd server running with the necessary firewall ports opened up? Where you trying to ssh to/from?

khalilfreemind 09-24-2014 03:22 PM

Quote:

Originally Posted by suicidaleggroll (Post 5243712)
Is your VM set to NAT or bridged? What's the VM's IP and DNS? Is the sshd server running with the necessary firewall ports opened up? Where you trying to ssh to/from?

my vm set to bridged my guest ip is 192.168.1.110 and dns 8.8.8.8 sshd is running when I use dhcp it works but it doesn't when I use static ip , my gateway is 192.168.1.1

khalilfreemind 09-24-2014 03:25 PM

my vm set to bridged my vm's adress is 192.168.1.110 dns 8.8.8.8 gateway 192.168.1.1 sshd is on when I use dhcp I can ssh and browse to google but when I use static ip it doesn't work

suicidaleggroll 09-24-2014 03:27 PM

When you use a static IP and things aren't working, what is the output of ifconfig and what are the contents of /etc/resolv.conf

khalilfreemind 09-24-2014 03:39 PM

I know something is wrong but I can't figur it coz I can ping on 8.8.8.8 but I can't brows on google or ssh from my host windows 7

khalilfreemind 09-24-2014 04:00 PM

thanks a lot suicidaleggroll for your help I found the problem it was my antivirus avast who was blocking me

suicidaleggroll 09-24-2014 04:04 PM

Glad you got it sorted out.


All times are GMT -5. The time now is 12:54 PM.