skip to Main Content

After I remove my old ssh key and added new key to bitbucket I cant pull/push or clone from/to bitbucket.

ssh-add -l shows the added key

After executing ssh -vT [email protected] gets the following output and it waits indefinetly

OpenSSH_8.9p1 Ubuntu-3, OpenSSL 3.0.2 15 Mar 2022
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug1: Connecting to bitbucket.org [2406:da00:ff00::22c0:3470] port 22

2

Answers


  1. Just check your ssh config.

    You can specify which privatekey to use for which host.

    See also here

    Login or Signup to reply.
  2. Check if the firewall is the issue, blocking any egress SSH query.

    sudo ufw enable OpenSSH
    

    Or disable (for testing) the IPTables firewall

    systemctl status firewalld
    

    Try and disable (temporarily, for testing) IPV6.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search