Getting vmtools to work in Debian 6

apt-get install linux-headers-2.6.32-5-amd64
install/mnt VMwareTools from Workstation/Player/Fusion
./vmware-install.pl

or

apt-get install gcc make
apt-get install linux-headers-$(uname -r)
then
install/mnt VMwareTools from Workstation/Player/Fusion
./vmware-install.pl

then
apt-get install ssh

depending on your build