Why can't I connect to the VMWare guest ubuntu via Telnet or SSH from the host?


Trimax

My host system: Win7 (x64) with VMware Workstation 12

VMware Ethernet Network Adapter VMnet1:
    IPv4: 162.168.86.1
    Mask: 255.255.255.0
    Gateway:

VMware Ethernet Network Adapter VMnet8:
    IPv4: 162.168.17.1
    Mask: 255.255.255.0
    Gateway:

Virtual Machine: Lubuntu 16.04 (x64)

ens33     Link encap:Ethernet  HWaddr 00:0c:19:0f:d6:b8  
          inet addr:128.128.129.232  Bcast:128.128.129.255  Mask:255.255.254.0

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:65536  Metric:1

Virtual Machine Settings...Network Adapter=Bridged (Auto)

I try to access via Telnet from the host to the virtual machine with PuTTY: target (IP address)=128.128.129.232 port=23 and via SSH on port=22

But the result is the same: this msgbox

"PuTTY Fatal Error", "Network Error: Connection refused"

Trimax

Ubuntu comes with ssh server or telnet service uninstalled.

I have installed openssh-server and can then connect using ssh port 22.

sudo apt-get install ssh

Related


Can't connect to shared host via SSH from Bitbucket Pipes

Nikolay Traykov What I need to do is use an SSH public server (shared hosting) and run a script to start the deployment process. I follow what is written here : I have created a key pair in itSettings > Pipelines > SSH Keys Then I added the IP address of the r

Can't connect to shared host via SSH from Bitbucket Pipes

Nikolay Traykov What I need to do is use an SSH public server (shared hosting) and run a script to start the deployment process. I follow what is written here : I have created a key pair in itSettings > Pipelines > SSH Keys Then I added the IP address of the r

Ansible - Can't connect to host via ssh

Nicole B I am trying to provision an EC2 instance and install a LAMP server on it using Ansible from localhost. I have successfully configured the instance but cannot install apache, php and mysql due to this error "Cannot connect to host via ssh". OS: El Capi

How can I connect to my VMWare computer (Ubuntu) via SSH (Putty)?

Okushimazaki I'm trying to SSH into my VMWare (Workstation 7.1.3) computer (Ubuntu Lucid). I've read some other articles but I can't figure it out. I ran and found and , and what appeared to be the IP address. If I try to SSH to any of these addresses via Putt

How can I connect to my VMWare computer (Ubuntu) via SSH (Putty)?

Okushimazaki I'm trying to SSH into my VMWare (Workstation 7.1.3) computer (Ubuntu Lucid). I've read some other articles but I can't figure it out. I ran and found and , and what appeared to be the IP address. If I try to SSH to any of these addresses via Putt

SSH to Ubuntu host from Ubuntu VirtualBox guest?

Mountain X I want to SSH into my host (Kubuntu 12.04 64bit) from a VirtualBox guest running 32bit Ubuntu 12.04. The host has the latest VirtualBox from the Ubuntu repositories (4.1.12). The guest is a preconfigured VM that I downloaded from VirtualBoxImages.co

SSH to Ubuntu host from Ubuntu VirtualBox guest?

Mountain X I want to SSH into my host (Kubuntu 12.04 64bit) from a VirtualBox guest running 32bit Ubuntu 12.04. The host has the latest VirtualBox from the Ubuntu repositories (4.1.12). The guest is a preconfigured VM that I downloaded from VirtualBoxImages.co

I can't access the guest (CentOS7) from the host (Win10) via VNC

Quico Llinares 洛伦斯 I have done first yum -y install tigervnc-serverand then vncpasswdset the password to vnc. Then I vncserver :1 -geometry 800x600 -depth 24use to start vncserver on the client machine , even as you can see in the picture the server is up: Whe

I can't access the guest (CentOS7) from the host (Win10) via VNC

Quico Llinares 洛伦斯 I have done first yum -y install tigervnc-serverand then vncpasswdset the password to vnc. Then I vncserver :1 -geometry 800x600 -depth 24use to start vncserver on the client machine , even as you can see in the picture the server is up: Whe

Can't access Rails app on Mac host from VMware Fusion Guest

pjosborne68 I might be doing something stupid here, but.... I can't access a Rails app running on a Mac from a Windows 10 VM. I have set the network adapter to "shared with my mac". I can access the PHP site running on the Mac via http://[my-machine-name].loca

Why can't ssh connect to any host inside the while loop?

wa theIp="" #1 echo $theIp | while read ip; do ssh -tt root@$ip exit done #2 while read ip; do ssh root@$ip exit done < <(echo $theIp) #3 while true; do ssh root@$theIp exit done The above 3 ways can connect any host in the while state

Why can't ssh connect to any host inside the while loop?

wa theIp="" #1 echo $theIp | while read ip; do ssh -tt root@$ip exit done #2 while read ip; do ssh root@$ip exit done < <(echo $theIp) #3 while true; do ssh root@$theIp exit done The above 3 ways can connect any host in the while state