I'm trying to test my SSH connection to Bitbucket, but the session closes right after authentication.
Here's the relevant output:
Authenticated to bitbucket.org ([185.166.143.49]:22) using "publickey". debug1: channel 0: free: client-session, nchannels 1 Connection to bitbucket.org closed by remote host. debug1: Exit status -1
The key is accepted, no explicit error is shown, but the connection is terminated by the remote host.
This happens even with ssh -Tv git@bitbucket.org.
Any idea what could cause this?
Thanks.