nmblookup -A ipaddress
... nmblookup
is part of Samba (or perhaps smb-client packages, depending on your distribution)
sshd_config
must have: IgnoreRhosts no
to use ~/.shosts
HostBasedAuthentication yes
to allow ssh2 shosts
ssh_config
must have HostbasedAuthentication yes
. Also ssh from server to client once saying yes to accept the key before shosts will work.