Install and mount HGFS share with open-vm-tools in Ubuntu 16.04 LTS

First install the right open-vm-tools package:

# sudo apt-get install open-vm-tools-dkms

then you can mount the shared folder with following command:

# sudo mount -t fuse.vmhgfs-fuse .host:/ <mount point> -o allow_other

please make sure that the mount point exists. to make this permanent and mount at boot, edit your /etc/fstab file and add

.host:/ /mnt/hgfs fuse.vmhgfs-fuse allow_other 0 0

Important: FUSE can only be used with kernel >4 and open-vm-tools >10, otherwise the simplest solution is to install VMware Tools

SSH tunnel

how to open an SSH tunnel through another host:

# ssh -l <user> -L <local_port>:<remote_host>:<remote_port> <host_to_connect>

this can be chained through multiple hosts, e.g.

# ssh -l user1 -L 80:localhost.1234 server1 (type on local machine)
# ssh -l user2 -L 1234:localhost:80 server2 (type on server1)

now server2's port can be reached through http://localhost

Kodi add-ons on Ubuntu 16.01.1 LTS

On latest Ubuntu distributions (based 16.01 LTS) Kodi's add-ons won't connect to the internet due to a bug in the systems python-openssl package, wihich is outdated. They throw following error to the logs:

URLError: <urlopen error [Errno 0] Error>

So uninstalling the system package and upgrading to pyopenssl using pip worked just fine.

# sudo apt-get remove python-openssl
# sudo apt-get install python-setuptools python-pip python-dev libssl-dev
# sudo pip install --upgrade pyopenssl

Add-ons are working afterwards.