louis12356 asked:
i can’t connect to the virtual machine via SSH. The diagram shows the network and it’s connections. On the ubuntu-virtual-machine, the SSH-Server is running.
Do i need to enter (with the ubuntu machine) our Windows-Workgroup to get this done? On the windows server machine an inbound rule for port 22 exists an allows connections (i dont know if it is even necessary).
diagram
network adapters
ubuntu port and ip address
virtual switch
Answers to djomi’s questions:
- yeah, i can ping from guest to host and client/host and client/guest and vice versa
- ssh on localhost works fine (in VM)
- see images
My answer:
For some reason your ufw
installation is not allowing ssh
connections. You should simply allow them:
sudo ufw allow ssh
View the full question and any other answers on Server Fault.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.