TechnicalTophat
TechnicalTophat

Reputation: 1725

Bitbucket SSH Key loading but not working

I'm trying to set up two different SSH keys for my bitbucket account, work, and personal. As usual I add my public key to my SSH keys on the server, but for some unusual reason when I open my public key to add it, I see it starts with

---- BEGIN SSH2 PUBLIC KEY ---- and ---- END SSH2 PUBLIC KEY ----.

Bitbucket doesn't like these so instead I copy it from the field at the top of PuttyGen, which doesn't have these fields and then Bitbucket accepts it.

HOWEVER,

When I then load my privaye key into Pageant it works fine, but I then try any operations with my server (clone, push, pull, even viewing remote on existing repos) It says my key isn't authenticated!!

I've also tried the ssh-keygen command from git bash, but these come out the same format and again, BitBucket doesn't like them.

Thanks.

Upvotes: 1

Views: 1437

Answers (1)

TechnicalTophat
TechnicalTophat

Reputation: 1725

This wasn't an issue to do with either SSH or Bitbucket, I didn't realise but over the weekend my workplace proxy had been updated, and it didn't like BitBucket connections. For future reference, the proxy client was 'Cisco AnyConnect', and ALL the proxy locations caused issues.

Upvotes: 1

Related Questions