http://www.linuxproblem.org/art_9.html
Generate keys on user computer:
ssh-keygen -t rsa
Put public key on user B's trusted keys at server
Reason 1: stupid DNS, see http://www.turnkeylinux.org/blog/slow-ssh
Solution: edit /etc/sshd/sshd_config and add 'UseDNS no', or edit /etc/hosts
Reason 2: some GSS API authentication uses DNS, turn it off
Solution: edit /etc/sshd/sshd_config and set "GSSAPIAuthentication no"