Remote Connection Failed connecting to Git repo

EDIT: This is solved now but I don’t have enough rep to answer it just yet.

I have a local git repository that I want to host on I’m using Git Tower, and I generated a keypair using

  • how to move git respository between hosting providers
  • Provided an invalid file
  • Importing existing git repo into assembla
  • Need assistance with creating a Git client-side 'commit-msg' hook
  • What is the proper way to generate, store, and configure an SSH public/private key pair for git repository usage on Assembla?
  • Best VCS and hosting for a student group of 10?
  • ssh-keygen -C

    (The gmail address is my registered email on assembla and tower)

    I uploaded my public key to assembla which seemed to work, then on Git Tower I select my project, go to Settings > Remotes and enter a custom name for the project, then enter the repository URL as stated on my assembla project page:

    I select private Key and choose the private key generated with the above command. Tower automatically completes the username field (as “git”) from the repository URL. I enter the Key Password the same as when I generated the key pair from command line and when I click add and get the following error.

    Permission denied (publickey,keyboard-interactive).
    fatal: The remote end hung up unexpectedly

    I checked similar questions but I’m not having any luck. It seems to be an error authenticating, but I’m not sure what else to try.

  • Bundle commits / keep commits private on push
  • What exactly does the ReCommit feature in TortoiseGit do?
  • How do I share single files between multiple branches in git
  • Can I add a file to one of my GitHub repositories without cloning / pulling from it?
  • Git - move pushed commits to a new branch (rename branch instead of force pushing?)
  • SSH error on push to an existing project Permission denied (publickey)
  • One Solution collect form web for “Remote Connection Failed connecting to Git repo”

    Turns out Assembla took a LONG time to register the keys. I tried again with the same keys a few days later and it worked.

    Git Baby is a git and github fan, let's start git clone.