Enable ssh and connect pi with host name for raspbian jessie
After Nov. 2016 release, ssh server is disabled by default. Use:
and then enable ssh by navigating to Interface options > ssh.
To enable connecting pi through host name:
sudo apt-get install avahi-daemon
sudo insserv avahi-daemon
sudo /etc/init.d/avahi-daemon restart