Jump to content

Hi, I'm running an Ubuntu Server 16.04 VM on my Server/Laptop and I wanna connect to the VM through Putty or something on my desktop and when I try to do this nothing happens, I've installed ssh on the server and FileZilla server and I've configured them right but I can't connect to both of them. Any help? o.O

CPU: i5 7600k 4.3GHz GPU: Strix 1060 6GB SSD: WD GREEN 128GB HHD: WD BLUE 1TB

Link to comment
https://linustechtips.com/topic/910202-ssh-and-ftp-on-linux-vmware/
Share on other sites

Link to post
Share on other sites

https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol

https://en.wikipedia.org/wiki/Ping_(networking_utility)

 

I've never played with VMs, but I suspect the VM must have a separate IP address or some per-port routing / NAT needs to be done on the server. So basically what Radium_Angel said. Look in the VMWare network documentation.

Link to post
Share on other sites

9 hours ago, Wild Penquin said:

https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol

https://en.wikipedia.org/wiki/Ping_(networking_utility)

 

I've never played with VMs, but I suspect the VM must have a separate IP address or some per-port routing / NAT needs to be done on the server. So basically what Radium_Angel said. Look in the VMWare network documentation.

I’ll take a look on this When I get Home.

CPU: i5 7600k 4.3GHz GPU: Strix 1060 6GB SSD: WD GREEN 128GB HHD: WD BLUE 1TB

Link to post
Share on other sites

20 hours ago, JENSAN said:

Hi, I'm running an Ubuntu Server 16.04 VM on my Server/Laptop and I wanna connect to the VM through Putty or something on my desktop and when I try to do this nothing happens, I've installed ssh on the server and FileZilla server and I've configured them right but I can't connect to both of them. Any help? o.O

VMware gives each VM a seperate IP if you use ESXI, if you use workstation player you might have to configure bridge mode in network settings for the VM.

Link to post
Share on other sites

hi

 

The most easy way is just to just add another host only adapter to your VM then poweron the VM again. This is how you do it.

 

1. add adapter in vm settings

2. run ip link in terminal to find name of new interface. (most likely called enp0s8)

3. enable interface by running ifconfig <interface name> up (when command isnt found you have to install net-tools, apt-get install nettools)

4. Give a ip adres to the adapter by editing /etc/network/interfaces.

 

nano /etc/network/interfaces

It should look something like this blue text has to be added to file

 

# The loopback network interface
auto lo enp0s3
iface lo inet loopback

 

# The primary network interface
iface enp0s3 inet dhcp

 

#The secondary network interface for putty

iface enp0s8 inet static

address 192.168.2.30

netmask 255.255.255.0

network 192.168.2.0

dns-nameservers 8.8.8.8 8.8.4.4

 

Thats all :)

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×