I have two computers:
- an laptop running windows 10, it is added to a domain
- an desktop running ubuntu 16.04, it is not added to any domain
Both computers are connected to the same intranet using Ethernet socket next to each other.
However, (from computer 1) when I tried to ssh into computer 2 using its hostname, it could not connect. But when I tried to ssh using computer 2's ip address, I am able to connect to it.
What could be the cause? How to configure to make ssh-via-hostname work?