Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Need to Restart my Wifi to push or pull (everytime) since RSA key change

MichaelHoughton August 1, 2023

Since Bitbucket updated their RSA keys in May, I now need to reconnect to my wifi everytime I wish to push or pull on my repo.

If I don't, then the push or pull just hangs.

Has anyone else experienced this.  I am using Ubuntu.

2 answers

1 vote
Saxea _Flowie_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 1, 2023

I've have seen a similar issue, and if I remember correctly it had to do with ipv6 in my case. You could try push/pull from the command line using verbose SSH and might give you a better insight on what is happening.

`GIT_SSH_COMMAND="ssh -vvv" git push`

0 votes
MichaelHoughton August 3, 2023

Thanks @Saxea _Flowie_ .

I have done this.  It appears to be a difference in the IP.

The first time I try to connect, I get this message:

Connecting to bitbucket.org [2406:da00:ff00::22c5:2ef4] port 22

Nothing happens, the terminal just sits there and does nothing.

I cancel this, and reconnect to my wifi.  The next time, it does this:

Connecting to bitbucket.org [104.192.141.1] port 22

The second time it connects and pushes. You can see the IP is different.

Would you have a solution by chance?

Saxea _Flowie_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 3, 2023

I think adding this to your ~/.ssh/config can help:

Host bitbucket.org
    HostkeyAlgorithms +ssh-rsa
    PubkeyAcceptedAlgorithms +ssh-rsa
    AddressFamily inet

The AddressFamily will make it use ipv4 only.

You will probably need the other two options, eventually when you upgrade the ssh client.

Like MichaelHoughton likes this
MichaelHoughton August 3, 2023

Thank you!  It looks like the following might have worked:

Host bitbucket.org
  HostkeyAlgorithms +ssh-rsa
  AddressFamily inet

Saxea _Flowie_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 3, 2023

Nice, glad to help!

You can mark it as solved to help others find the solution.

MichaelHoughton August 3, 2023

Thanks @Saxea _Flowie_ - yes 100%.  You were great, thank you so much!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events