Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,458,478
Community Members
 
Community Events
176
Community Groups

Permission denied (publickey). Server refused to allocate pty.

When I try to push, it drops an error:

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags --set-upstream origin main:main
Pushing to git@github.**/***.git
The server's host key is not cached. You have no guarantee
that the server is the computer you think it is.
The server's ssh-ed25519 key fingerprint is:
ssh-*** 255 SHA256:+***
If you trust this host, enter "y" to add the key to

 
I generated keys with a puttygen, added public to a bitbucket account and github, and SSH agent of cource, also loaded key to sourcetree SSH.

When I runned next line, I got an error

putty>plink.exe bitbucket.org


Access granted. Press Return to begin session.
Server refused to allocate pty
authenticated via ssh key.

You can use git to connect to Bitbucket. Shell access is disabled

ssh -T git@bitbucket.org
Warning: Permanently added the RSA host key for IP address '***' to the list of known hosts.
git@bitbucket.org: Permission denied (publickey).

debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: /c/Users/Astromanson/.ssh/id_rsa RSA *** agent
debug1: Authentications that can continue: publickey
debug1: Trying private key: /c/Users/***/.ssh/id_dsa
debug1: Trying private key: /c/Users/***/.ssh/id_ecdsa
debug1: Trying private key: /c/Users/***/.ssh/id_ed25519
debug1: Trying private key: /c/Users/***/.ssh/id_xmss
debug1: No more authentication methods to try.
git@github.com: Permission denied (publickey).

 

 

 

2 answers

Nothing helps. Leaving sourcetree.

Fixed by recreating a project

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events