Avevo Ubuntu 10.04 e recentemente aggiornato a 11.10. Le chiavi SSH aggiuntive hanno smesso di funzionare. Ho le chiavi bitbucket
e github
, che ho nei siti web. Come posso dire a SSH di usare una particolare chiave per Bitbucket e un'altra per GitHub?Come utilizzare la chiave SSH speciale per BitBucket e GitHub per spingere/tirare?
Così, ho un config:
Host bitbucket
HostName 207.223.240.182
User hg
IdentityFile ~/.ssh/bitbucket
Quando chiamo ssh bitbucket
, ssh registra con successo con la chiave e viene cacciato. Ma quando provo hg pull
, vedo "nessuna risposta da remote hg." e la passphrase non viene richiesta.
Cosa si può fare?
È stata una lettura molto utile, grazie! –