Quantcast
Channel: VMware Communities : Popular Discussions - General Issues
Viewing all articles
Browse latest Browse all 41042

Issues trying to SSH to virtual machine

$
0
0

Hi,

 

First of all, my apologies if I've accidentially posted this in the wrong forumgroup, this is my first post here. I have been trying to search for a solution to my problem but I haven't managed to crack it yet.

 

I have created my first virtual machine (I'm new to VMWare, so it's a learning curve, please bear with me) and installed OpenSUSE 64 bit. This went fine without any significant problems (at least for a novice). I installed it and it works. End of my trouble? Not quite It seems that I cannot SSH to the virtual machine. I can easily go online from it, resolve DNS etc and I can also ping the virtual machine from my local network (both from the VMWare server computer and from other computers on the same network). When I attempt to SSH to the virtual machine, it simply times out (I'm using SecureCRT as the weapon of choice).

 

The VMWare server host is running Windows 7 (ultimate).

 

A popular advice was to disable my NIC's "Checksum Offload".

 

This is the output of "ifconfig -a" and the eth0 interface looks fine (seemingly):

 

cigva:~ # ifconfig -a

eth0      Link encap:Ethernet  HWaddr 00:0C:29:BA:01:1E 

          inet addr:192.168.1.69  Bcast:192.168.1.255  Mask:255.255.255.0

          inet6 addr: fe80::20c:29ff:feba:11e/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:612 errors:0 dropped:0 overruns:0 frame:0

          TX packets:133 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:69784 (68.1 Kb)  TX bytes:17128 (16.7 Kb)

 

lo        Link encap:Local Loopback 

          inet addr:127.0.0.1  Mask:255.0.0.0

          inet6 addr: ::1/128 Scope:Host

          UP LOOPBACK RUNNING  MTU:16436  Metric:1

          RX packets:10 errors:0 dropped:0 overruns:0 frame:0

          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:580 (580.0 b)  TX bytes:580 (580.0 b)

 

Again, I have no problem reaching the world (or pinging the network, 192.168.1.x) from the virtual machine and I do not have problems pinging the virtual machine from my network, so I am a bit baffed as to why the SSH times out. Both the VMWare server computer and the second computer in my network is running Windows 7 Ultimate.

 

At one point I considered whether the SSH request went via WAN instead of LAN (could've been a matter of portforwarding in the router then) but I kinda strayed from it again after trying to trace it, where it didn't jump from LAN to WAN (experienced network guys: feel free to have a laugh at my expense if I totally mess up here? ) - anyways, I did create a portforward from port 22 to the virtual machines IP, 192.168.1.69 just in case. Besides disabling Checksum Offload on two computers (including the host computer), I also tried to disable (Windows) firewall on both computers.

 

Another recurring suggestion was to issue

ethtool -K eth0 sg off rx off tx off tso off

 

I was unsure whether this was to be issued if the VMWare server was running Linux, but I gave it a shot as well, which didn't do anything. I stopped and restarted the /etc/init.d/network service (which didn't help either) but produced the following output (no errors, at least):

 

cigva:~ # /etc/init.d/network stop

Shutting down network interfaces:

    eth0      device: Intel Corporation 82545EM Gigabit Ethernet Controller (Copper) (rev 01)

    eth0                                                             done

Shutting down service network  .  .  .  .  .  .  .  .  .             done

 

cigva:~ # /etc/init.d/network start

Hint: you may set mandatory devices in /etc/sysconfig/network/config

Setting up network interfaces:

    eth0      device: Intel Corporation 82545EM Gigabit Ethernet Controller (Copper) (rev 01)

    eth0      Starting DHCP4+DHCP6 client. . . . . . . . 

    eth0      IP address: 192.168.1.69/24

    eth0      DHCP6 continues in background

    eth0                                                             done

Setting up service network  .  .  .  .  .  .  .  .  .  .             done

SuSEfirewall2: Setting up rules from /etc/sysconfig/SuSEfirewall2 ...

SuSEfirewall2: batch committing...

SuSEfirewall2: Firewall rules successfully set

 

 

I hope that you can perhaps straighten me out on this matter. I'd appreciate any suggestions on this! If you need any additional information, I will happily add it.

 

Best regards,

Klaus


Viewing all articles
Browse latest Browse all 41042

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>