If you see the below message and it freezes the way to fix it is to open putty, type in the host name (like bitbucket.org), click open, click yes in the popup to cache the host key then close putty
The server's host key is not cached in the registry. You
have no guarantee that the server is the computer you
think it is.
The server's rsa2 key fingerprint is:
ssh-rsa 2048 24:5e:d9:30:a7:96:92:f5:f1:f1:ff
If you trust this host, enter "y" to add the key to
PuTTY's cache and carry on connecting.
If you want to carry on connecting just once, without
adding the key to the cache, enter "n".
If you do not trust this host, press Return to abandon the
Store key in cache? (y/n) y
pageant needs to be running and loged in with private key
Generating public/private rsa key pair. Enter file in which to save the key (/home/bigbang/.ssh/id_rsa): (Enter) Enter passphrase (empty for no passphrase): (Enter) Enter same passphrase again: (Enter)
# this creates a file ~/.ssh/authorized_keys $ ssh-copy-id firstname.lastname@example.org email@example.com’s password: (Enter Password)
Now test login in via ssh. It will not ask for the password