In Eclipse go to Window > Preferences > Network Connections > SSH2. In "Key Management" tab press "Generate RSA Key..." button.. Copy your generated public key (in a box just below "Generate RSA Key..." button) and add it to your GitHub account. Press "Save Private Key..." button to save your private RSA key into file.