I hope you can help me figure out what exactly is the problem.
On the virtualbox
* I have openssh-server installed and running. I can ssh to the host and to localhost without problem
* sudo nmap -p 20-2550 localhost gives me
Code: Select all
Starting Nmap 7.40 ( ... ) at 2018-01-03 10:38 CET
Nmap scan report for localhost (127.0.0.1)
Host is up (0.000021s latency).
Other addresses for localhost (not scanned): ::1
Not shown: 2530 closed ports
PORT STATE SERVICE
22/tcp open ssh
On the host
* I can ping to the virtualbox machine
* a ssh connection takes long time before it gives the message 'ssh: connect to host IP port 22: no route to host'
As I mentioned, there are other virtual machines that do not have this problem. The only thing that is different, and what I do not understand completely is the adapter.
In the virtualbox menu, in the configuration of the bridged adapter, I have three adapter names to choose from: eth0, eth1 and docker0.
When I look at my adapters on the client, only the docker0 adpater is mentioned. The adapter that has the IP of the machine has an unusual name (and this is different on my other clients): its name is enp0s3. I have tried both eth0 and eth1, but they have the same problem.
I hope I have given enough information to explain my problem. If not, let me know so that I can provide missing info.
thanks for helping me, Ruud