I get this error message when trying to create a shared ssh key in Mac osx Lion scp .ssh/id_rsa.pub cvattiku@xxxxxxxxxxxxxxx:~/ ssh_exchange_identification: Connection closed by remote host lost connection -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html