Unable to resolve hostname while ssh-ing

Unable to resolve hostname while ssh-ing:

Hello guys. I set up an SSH with Ubuntu server. Now I’m trying to log via SSH “without knowing it’s up” but just using the hostname. I’ve configured avahi but I cannot connect.

To explain it better, I’d like to log with SSH (from android e pcs) on my server while on same local network just by using the pc name, that because I must use a DHCP because I’m on a student’s house.

Thanks in advance.

submitted by /u/segmentationfrault
[link] [comments] via Linux 101 stuff. Questions are encouraged, noobs are welcome!