As soon as I want to push LFS files , even as soon as adding a .gitattributes file defining git LFS I get a "Connection to bitbucket.org closed by remote host." Is this a license issue? A network issue? How to troubleshoot this?
Kind regardsKurt
Hi, @Kurt Duyck, thank you for reaching out to Atlassian Community.
It seems to be a network issue, so in order to further investigate what is causing this, could you please share the following information with us?
Is this problem happening using both HTTPS and SSH?
Is this issue affecting other repositories? In case this is happening to this specific repo, could you share the last 3 letters of the workspace and repository name so we can identify this in our system?
Could you please run the following commands and share the output with us? Please remember to remove any private/sensitive information.
This will show us the verbose of the command, so we'll be able to see where exactly this command is failing:
If you are using SSH:
GIT_TRACE=1 GIT_SSH_COMMAND="ssh -v" GIT_CURL_VERBOSE=1 time <git command>
If you are using HTTPS:
GIT_TRACE_PACKET=1 GIT_TRACE=1 GIT_CURL_VERBOSE=1 <git command>
Are you using IPV6 or IPV4?
https://test-ipv6.com/
If you have access to another network (e.g. a 4G network), could you please try to make this specific push using that other network?
Thank you.
Kind regards,Caroline
Hi Caroline
Thanks for your help. I am using SSH on windows terminal (powershell), so I needed some time to figure out how to set the environment vars. (On windows it is line by line, $Env:GIT_TRACE=1) This gave me some nice insight on the inner workings of the connection. I saw some retry's and had to add my passphrase at some point. However this time the command got executed and the .gitattributes file was pushed to Bitbucket. What follows is the verbose output I got: (minus some sensitive data) Thanks for looking into it, any recommendation is highly appreciated.
One line in particular caught my attention: Remote "origin" does not support the LFS locking API. Consider disabling it with:
Also I am using IPv6.
wireframe on 🌱 trunk [🏎💨] ❯ $Env:GIT_TRACE=1wireframe on 🌱 trunk [🏎💨] ❯ $Env:GIT_SSH_COMMAND="ssh -v"wireframe on 🌱 trunk [🏎💨] ❯ $Env:GIT_CURL_VERBOSE=1wireframe on 🌱 trunk [🏎💨] ❯ g push14:55:54.255044 exec-cmd.c:237 trace: resolved executable dir: C:/Program Files/Git/mingw64/bin14:55:54.259048 git.c:458 trace: built-in: git push14:55:54.262049 run-command.c:654 trace: run_command: unset GIT_PREFIX; 'ssh -v' git@bitbucket.org 'git-receive-pack '\''hsvives/wireframe.git'\'''OpenSSH_8.8p1, OpenSSL 1.1.1m 14 Dec 2021debug1: Reading configuration data /h//.ssh/configdebug1: /h//.ssh/config line 17: Applying options for bitbucket.orgdebug1: Reading configuration data /etc/ssh/ssh_configdebug1: Connecting to bitbucket.org [2406:da00:ff00::22c0:3470] port 22.debug1: Connection established.debug1: identity file some-location/id_atlaskurt521 type 2debug1: identity file some-location/id_atlaskurt521-cert type -1debug1: Local version string SSH-2.0-OpenSSH_8.8debug1: Remote protocol version 2.0, remote software version conker_3aee7f2e9e 2e849f98cf5fdebug1: compat_banner: no match: conker_3aee7f2e9e 2e849f98cf5fdebug1: Authenticating to bitbucket.org:22 as 'git'debug1: load_hostkeys: fopen /h/.ssh/known_hosts2: No such file or directorydebug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directorydebug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directorydebug1: SSH2_MSG_KEXINIT sentdebug1: SSH2_MSG_KEXINIT receiveddebug1: kex: algorithm: curve25519-sha256@libssh.orgdebug1: kex: host key algorithm: rsa-sha2-512debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: nonedebug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: nonedebug1: expecting SSH2_MSG_KEX_ECDH_REPLYdebug1: SSH2_MSG_KEX_ECDH_REPLY receiveddebug1: Server host key: ssh-rsa SHA256:z-fingerprint-Adebug1: load_hostkeys: fopen /h/.ssh/known_hosts2: No such file or directorydebug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directorydebug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directorydebug1: Host 'bitbucket.org' is known and matches the RSA host key.debug1: Found key in /h/.ssh/known_hosts:1Host key fingerprint is SHA256:z-fingerprint-A+---[RSA 2048]----+keyimage| . = * o || |+----[SHA256]-----+debug1: rekey out after 134217728 blocksdebug1: SSH2_MSG_NEWKEYS sentdebug1: expecting SSH2_MSG_NEWKEYSdebug1: SSH2_MSG_NEWKEYS receiveddebug1: rekey in after 134217728 blocksdebug1: Will attempt key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicitdebug1: SSH2_MSG_EXT_INFO receiveddebug1: kex_input_ext_info: server-sig-algs=<ssh-rsa,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ecdsa-sha2-nistp256-cert-v01@openssh.com>debug1: SSH2_MSG_SERVICE_ACCEPT receiveddebug1: Authentications that can continue: publickeydebug1: Next authentication method: publickeydebug1: Offering public key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicitdebug1: Server accepts key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicitEnter passphrase for key 'some-location/id_atlaskurt521':Authenticated to bitbucket.org ([2406:da00:ff00::22c0:3470]:22) using "publickey".debug1: channel 0: new [client-session]debug1: Entering interactive session.debug1: pledge: filesystem fulldebug1: Sending command: git-receive-pack 'hsvives/wireframe.git'14:56:37.228514 run-command.c:654 trace: run_command: .git/hooks/pre-push origin git@bitbucket.org:hsvives/wireframe.git14:56:37.472127 exec-cmd.c:237 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core14:56:37.485141 git.c:746 trace: exec: git-lfs pre-push origin git@bitbucket.org:hsvives/wireframe.git14:56:37.485141 run-command.c:654 trace: run_command: git-lfs pre-push origin git@bitbucket.org:hsvives/wireframe.git14:56:37.557227 trace git-lfs: exec: git 'version'14:56:37.640597 trace git-lfs: exec: git '-c' 'filter.lfs.smudge=' '-c' 'filter.lfs.clean=' '-c' 'filter.lfs.process=' '-c' 'filter.lfs.required=false' 'remote' '-v'14:56:37.699894 trace git-lfs: exec: git '-c' 'filter.lfs.smudge=' '-c' 'filter.lfs.clean=' '-c' 'filter.lfs.process=' '-c' 'filter.lfs.required=false' 'remote'14:56:37.760377 trace git-lfs: exec: git '-c' 'filter.lfs.smudge=' '-c' 'filter.lfs.clean=' '-c' 'filter.lfs.process=' '-c' 'filter.lfs.required=false' 'rev-parse' 'HEAD' '--symbolic-full-name' 'HEAD'14:56:37.820577 trace git-lfs: exec: git '-c' 'filter.lfs.smudge=' '-c' 'filter.lfs.clean=' '-c' 'filter.lfs.process=' '-c' 'filter.lfs.required=false' 'rev-parse' '--git-dir' '--show-toplevel'14:56:37.890051 trace git-lfs: exec: uname14:56:37.995491 trace git-lfs: exec: cygpath '-w' '.git'14:56:38.056681 trace git-lfs: exec: cygpath '-w' 'local-dir-wireframe'14:56:38.112673 trace git-lfs: exec: git 'config' '--includes' '-l'14:56:38.159446 trace git-lfs: exec: git 'rev-parse' '--is-bare-repository'14:56:38.203198 trace git-lfs: exec: git 'config' '--includes' '-l' '--blob' ':.lfsconfig'14:56:38.270963 trace git-lfs: exec: git 'config' '--includes' '-l' '--blob' 'HEAD:.lfsconfig'14:56:38.353161 trace git-lfs: exec: cygpath '-w' ''14:56:38.402652 trace git-lfs: Error reading askpass helper "": failed to translate path from cygwin to windows: cygpath: can't convert empty path
14:56:38.414555 trace git-lfs: exec: cygpath '-w' ''14:56:38.463650 trace git-lfs: Error reading askpass helper "": failed to translate path from cygwin to windows: cygpath: can't convert empty path
14:56:38.468093 trace git-lfs: attempting pure SSH protocol connection14:56:38.469811 trace git-lfs: run_command: sh -c ssh -v -- git@bitbucket.org 'git-lfs-transfer hsvives/wireframe.git upload'14:56:38.478300 trace git-lfs: exec: sh '-c' 'ssh -v -- git@bitbucket.org 'git-lfs-transfer hsvives/wireframe.git upload''14:56:39.510762 trace git-lfs: pure SSH protocol connection failed: Unable to negotiate version with remote side (unable to read capabilities): EOF14:56:39.520594 trace git-lfs: pre-push: refs/heads/trunk 3f347f38d04f1641c8ac9466774a23262404dbe8 refs/heads/trunk 929ceb22e9fee290de2f45e6d1e4b18904abf75d14:56:39.521550 trace git-lfs: exec: git '-c' 'filter.lfs.smudge=' '-c' 'filter.lfs.clean=' '-c' 'filter.lfs.process=' '-c' 'filter.lfs.required=false' 'show-ref'14:56:39.578752 trace git-lfs: exec: git '-c' 'filter.lfs.smudge=' '-c' 'filter.lfs.clean=' '-c' 'filter.lfs.process=' '-c' 'filter.lfs.required=false' 'ls-remote' '--heads' '--tags' '-q' 'origin'14:56:40.595662 trace git-lfs: attempting pure SSH protocol connection14:56:40.596616 trace git-lfs: run_command: sh -c ssh -v -- git@bitbucket.org 'git-lfs-transfer hsvives/wireframe.git upload'14:56:40.604727 trace git-lfs: exec: sh '-c' 'ssh -v -- git@bitbucket.org 'git-lfs-transfer hsvives/wireframe.git upload''14:56:41.561371 trace git-lfs: pure SSH protocol connection failed: Unable to negotiate version with remote side (unable to read capabilities): EOF14:56:41.565082 trace git-lfs: run_command: sh -c ssh -v -- git@bitbucket.org 'git-lfs-authenticate hsvives/wireframe.git upload'14:56:41.577124 trace git-lfs: exec: sh '-c' 'ssh -v -- git@bitbucket.org 'git-lfs-authenticate hsvives/wireframe.git upload''14:56:42.563086 trace git-lfs: ssh: git@bitbucket.org failed, error: exit status 255, message: OpenSSH_8.8p1, OpenSSL 1.1.1m 14 Dec 2021debug1: Reading configuration data /h//.ssh/configdebug1: /h//.ssh/config line 17: Applying options for bitbucket.orgdebug1: Reading configuration data /etc/ssh/ssh_configdebug1: Connecting to bitbucket.org [2406:da00:ff00::22c0:3470] port 22.debug1: Connection established.debug1: identity file some-location/id_atlaskurt521 type 2debug1: identity file some-location/id_atlaskurt521-cert type -1debug1: Local version string SSH-2.0-OpenSSH_8.8debug1: Remote protocol version 2.0, remote software version conker_3aee7f2e9e 83c36e2a9a40debug1: compat_banner: no match: conker_3aee7f2e9e 83c36e2a9a40debug1: Authenticating to bitbucket.org:22 as 'git'debug1: load_hostkeys: fopen /h/.ssh/known_hosts2: No such file or directorydebug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directorydebug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directorydebug1: SSH2_MSG_KEXINIT sentdebug1: SSH2_MSG_KEXINIT receiveddebug1: kex: algorithm: curve25519-sha256@libssh.orgdebug1: kex: host key algorithm: rsa-sha2-512debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: nonedebug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: nonedebug1: expecting SSH2_MSG_KEX_ECDH_REPLYdebug1: SSH2_MSG_KEX_ECDH_REPLY receiveddebug1: Server host key: ssh-rsa SHA256:z-fingerprint-A
debug1: load_hostkeys: fopen /h/.ssh/known_hosts2: No such file or directorydebug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directorydebug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directorydebug1: Host 'bitbucket.org' is known and matches the RSA host key.debug1: Found key in /h/.ssh/known_hosts:1Host key fingerprint is SHA256:z-fingerprint-A+---[RSA 2048]----+keyimage| . = * o || |+----[SHA256]-----+debug1: rekey out after 134217728 blocksdebug1: SSH2_MSG_NEWKEYS sentdebug1: expecting SSH2_MSG_NEWKEYSdebug1: SSH2_MSG_NEWKEYS receiveddebug1: rekey in after 134217728 blocksdebug1: Will attempt key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicitdebug1: SSH2_MSG_EXT_INFO receiveddebug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-512,ssh-rsa-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-dss-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ssh-rsa,rsa-sha2-256,ssh-dss,ecdsa-sha2-nistp256>debug1: SSH2_MSG_SERVICE_ACCEPT receiveddebug1: Authentications that can continue: publickeydebug1: Next authentication method: publickeydebug1: Offering public key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicitdebug1: Server accepts key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicitdebug1: read_passphrase: can't open /dev/tty: No such device or addressdebug1: No more authentication methods to try.git@bitbucket.org: Permission denied (publickey). (try: 0/6)14:56:42.567687 trace git-lfs: run_command: sh -c ssh -v -- git@bitbucket.org 'git-lfs-authenticate hsvives/wireframe.git upload'14:56:42.644179 trace git-lfs: exec: sh '-c' 'ssh -v -- git@bitbucket.org 'git-lfs-authenticate hsvives/wireframe.git upload''14:56:43.629678 trace git-lfs: ssh: git@bitbucket.org failed, error: exit status 255, message: OpenSSH_8.8p1, OpenSSL 1.1.1m 14 Dec 2021debug1: Reading configuration data /h//.ssh/configdebug1: /h//.ssh/config line 17: Applying options for bitbucket.orgdebug1: Reading configuration data /etc/ssh/ssh_configdebug1: Connecting to bitbucket.org [2406:da00:ff00::22c0:3470] port 22.debug1: Connection established.debug1: identity file some-location/id_atlaskurt521 type 2debug1: identity file some-location/id_atlaskurt521-cert type -1debug1: Local version string SSH-2.0-OpenSSH_8.8debug1: Remote protocol version 2.0, remote software version conker_3aee7f2e9e 6c9b1864cfbddebug1: compat_banner: no match: conker_3aee7f2e9e 6c9b1864cfbddebug1: Authenticating to bitbucket.org:22 as 'git'debug1: load_hostkeys: fopen /h/.ssh/known_hosts2: No such file or directorydebug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directorydebug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directorydebug1: SSH2_MSG_KEXINIT sentdebug1: SSH2_MSG_KEXINIT receiveddebug1: kex: algorithm: curve25519-sha256@libssh.orgdebug1: kex: host key algorithm: rsa-sha2-512debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: nonedebug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: nonedebug1: expecting SSH2_MSG_KEX_ECDH_REPLYdebug1: SSH2_MSG_KEX_ECDH_REPLY receiveddebug1: Server host key: ssh-rsa SHA256:z-fingerprint-A
debug1: load_hostkeys: fopen /h/.ssh/known_hosts2: No such file or directorydebug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directorydebug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directorydebug1: Host 'bitbucket.org' is known and matches the RSA host key.debug1: Found key in /h/.ssh/known_hosts:1Host key fingerprint is SHA256:z-fingerprint-A+---[RSA 2048]----+keyimage| . = * o || |+----[SHA256]-----+debug1: rekey out after 134217728 blocksdebug1: SSH2_MSG_NEWKEYS sentdebug1: expecting SSH2_MSG_NEWKEYSdebug1: SSH2_MSG_NEWKEYS receiveddebug1: rekey in after 134217728 blocksdebug1: Will attempt key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicitdebug1: SSH2_MSG_EXT_INFO receiveddebug1: kex_input_ext_info: server-sig-algs=<ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,rsa-sha2-256,rsa-sha2-512,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com>debug1: SSH2_MSG_SERVICE_ACCEPT receiveddebug1: Authentications that can continue: publickeydebug1: Next authentication method: publickeydebug1: Offering public key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicitdebug1: Server accepts key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicitdebug1: read_passphrase: can't open /dev/tty: No such device or addressdebug1: No more authentication methods to try.git@bitbucket.org: Permission denied (publickey). (try: 1/6)14:56:43.631341 trace git-lfs: run_command: sh -c ssh -v -- git@bitbucket.org 'git-lfs-authenticate hsvives/wireframe.git upload'14:56:43.640386 trace git-lfs: exec: sh '-c' 'ssh -v -- git@bitbucket.org 'git-lfs-authenticate hsvives/wireframe.git upload''14:56:44.644553 trace git-lfs: ssh: git@bitbucket.org failed, error: exit status 255, message: OpenSSH_8.8p1, OpenSSL 1.1.1m 14 Dec 2021debug1: Reading configuration data /h//.ssh/configdebug1: /h//.ssh/config line 17: Applying options for bitbucket.orgdebug1: Reading configuration data /etc/ssh/ssh_configdebug1: Connecting to bitbucket.org [2406:da00:ff00::22c0:3470] port 22.debug1: Connection established.debug1: identity file some-location/id_atlaskurt521 type 2debug1: identity file some-location/id_atlaskurt521-cert type -1debug1: Local version string SSH-2.0-OpenSSH_8.8debug1: Remote protocol version 2.0, remote software version conker_3aee7f2e9e 6583240dd6c0debug1: compat_banner: no match: conker_3aee7f2e9e 6583240dd6c0debug1: Authenticating to bitbucket.org:22 as 'git'debug1: load_hostkeys: fopen /h/.ssh/known_hosts2: No such file or directorydebug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directorydebug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directorydebug1: SSH2_MSG_KEXINIT sentdebug1: SSH2_MSG_KEXINIT receiveddebug1: kex: algorithm: curve25519-sha256@libssh.orgdebug1: kex: host key algorithm: rsa-sha2-512debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: nonedebug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: nonedebug1: expecting SSH2_MSG_KEX_ECDH_REPLYdebug1: SSH2_MSG_KEX_ECDH_REPLY receiveddebug1: Server host key: ssh-rsa SHA256:z-fingerprint-A
debug1: load_hostkeys: fopen /h/.ssh/known_hosts2: No such file or directorydebug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directorydebug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directorydebug1: Host 'bitbucket.org' is known and matches the RSA host key.debug1: Found key in /h/.ssh/known_hosts:1Host key fingerprint is SHA256:z-fingerprint-A+---[RSA 2048]----+keyimage| . = * o || |+----[SHA256]-----+debug1: rekey out after 134217728 blocksdebug1: SSH2_MSG_NEWKEYS sentdebug1: expecting SSH2_MSG_NEWKEYSdebug1: SSH2_MSG_NEWKEYS receiveddebug1: rekey in after 134217728 blocksdebug1: Will attempt key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicitdebug1: SSH2_MSG_EXT_INFO receiveddebug1: kex_input_ext_info: server-sig-algs=<ssh-rsa,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp384,ssh-rsa-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,rsa-sha2-256,ecdsa-sha2-nistp256,ecdsa-sha2-nistp521,ssh-dss-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com>debug1: SSH2_MSG_SERVICE_ACCEPT receiveddebug1: Authentications that can continue: publickeydebug1: Next authentication method: publickeydebug1: Offering public key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicitdebug1: Server accepts key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicitdebug1: read_passphrase: can't open /dev/tty: No such device or addressdebug1: No more authentication methods to try.git@bitbucket.org: Permission denied (publickey). (try: 2/6)14:56:44.646069 trace git-lfs: run_command: sh -c ssh -v -- git@bitbucket.org 'git-lfs-authenticate hsvives/wireframe.git upload'14:56:44.659819 trace git-lfs: exec: sh '-c' 'ssh -v -- git@bitbucket.org 'git-lfs-authenticate hsvives/wireframe.git upload''14:56:45.642092 trace git-lfs: ssh: git@bitbucket.org failed, error: exit status 255, message: OpenSSH_8.8p1, OpenSSL 1.1.1m 14 Dec 2021debug1: Reading configuration data /h//.ssh/configdebug1: /h//.ssh/config line 17: Applying options for bitbucket.orgdebug1: Reading configuration data /etc/ssh/ssh_configdebug1: Connecting to bitbucket.org [2406:da00:ff00::22c0:3470] port 22.debug1: Connection established.debug1: identity file some-location/id_atlaskurt521 type 2debug1: identity file some-location/id_atlaskurt521-cert type -1debug1: Local version string SSH-2.0-OpenSSH_8.8debug1: Remote protocol version 2.0, remote software version conker_3aee7f2e9e 9093126cca4cdebug1: compat_banner: no match: conker_3aee7f2e9e 9093126cca4cdebug1: Authenticating to bitbucket.org:22 as 'git'debug1: load_hostkeys: fopen /h/.ssh/known_hosts2: No such file or directorydebug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directorydebug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directorydebug1: SSH2_MSG_KEXINIT sentdebug1: SSH2_MSG_KEXINIT receiveddebug1: kex: algorithm: curve25519-sha256@libssh.orgdebug1: kex: host key algorithm: rsa-sha2-512debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: nonedebug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: nonedebug1: expecting SSH2_MSG_KEX_ECDH_REPLYdebug1: SSH2_MSG_KEX_ECDH_REPLY receiveddebug1: Server host key: ssh-rsa SHA256:z-fingerprint-A
debug1: load_hostkeys: fopen /h/.ssh/known_hosts2: No such file or directorydebug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directorydebug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directorydebug1: Host 'bitbucket.org' is known and matches the RSA host key.debug1: Found key in /h/.ssh/known_hosts:1Host key fingerprint is SHA256:z-fingerprint-A+---[RSA 2048]----+keyimage| . = * o || |+----[SHA256]-----+debug1: rekey out after 134217728 blocksdebug1: SSH2_MSG_NEWKEYS sentdebug1: expecting SSH2_MSG_NEWKEYSdebug1: SSH2_MSG_NEWKEYS receiveddebug1: rekey in after 134217728 blocksdebug1: Will attempt key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicitdebug1: SSH2_MSG_EXT_INFO receiveddebug1: kex_input_ext_info: server-sig-algs=<ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp521,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,rsa-sha2-256,rsa-sha2-512,ecdsa-sha2-nistp384>debug1: SSH2_MSG_SERVICE_ACCEPT receiveddebug1: Authentications that can continue: publickeydebug1: Next authentication method: publickeydebug1: Offering public key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicitdebug1: Server accepts key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicitdebug1: read_passphrase: can't open /dev/tty: No such device or addressdebug1: No more authentication methods to try.git@bitbucket.org: Permission denied (publickey). (try: 3/6)14:56:45.644571 trace git-lfs: run_command: sh -c ssh -v -- git@bitbucket.org 'git-lfs-authenticate hsvives/wireframe.git upload'14:56:45.653133 trace git-lfs: exec: sh '-c' 'ssh -v -- git@bitbucket.org 'git-lfs-authenticate hsvives/wireframe.git upload''14:56:46.616391 trace git-lfs: ssh: git@bitbucket.org failed, error: exit status 255, message: OpenSSH_8.8p1, OpenSSL 1.1.1m 14 Dec 2021debug1: Reading configuration data /h//.ssh/configdebug1: /h//.ssh/config line 17: Applying options for bitbucket.orgdebug1: Reading configuration data /etc/ssh/ssh_configdebug1: Connecting to bitbucket.org [2406:da00:ff00::22c0:3470] port 22.debug1: Connection established.debug1: identity file some-location/id_atlaskurt521 type 2debug1: identity file some-location/id_atlaskurt521-cert type -1debug1: Local version string SSH-2.0-OpenSSH_8.8debug1: Remote protocol version 2.0, remote software version conker_3aee7f2e9e 29b423ac346fdebug1: compat_banner: no match: conker_3aee7f2e9e 29b423ac346fdebug1: Authenticating to bitbucket.org:22 as 'git'debug1: load_hostkeys: fopen /h/.ssh/known_hosts2: No such file or directorydebug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directorydebug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directorydebug1: SSH2_MSG_KEXINIT sentdebug1: SSH2_MSG_KEXINIT receiveddebug1: kex: algorithm: curve25519-sha256@libssh.orgdebug1: kex: host key algorithm: rsa-sha2-512debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: nonedebug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: nonedebug1: expecting SSH2_MSG_KEX_ECDH_REPLYdebug1: SSH2_MSG_KEX_ECDH_REPLY receiveddebug1: Server host key: ssh-rsa SHA256:z-fingerprint-A
debug1: load_hostkeys: fopen /h/.ssh/known_hosts2: No such file or directorydebug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directorydebug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directorydebug1: Host 'bitbucket.org' is known and matches the RSA host key.debug1: Found key in /h/.ssh/known_hosts:1Host key fingerprint is SHA256:z-fingerprint-A+---[RSA 2048]----+keyimage| . = * o || |+----[SHA256]-----+debug1: rekey out after 134217728 blocksdebug1: SSH2_MSG_NEWKEYS sentdebug1: expecting SSH2_MSG_NEWKEYSdebug1: SSH2_MSG_NEWKEYS receiveddebug1: rekey in after 134217728 blocksdebug1: Will attempt key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicitdebug1: SSH2_MSG_EXT_INFO receiveddebug1: kex_input_ext_info: server-sig-algs=<ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-rsa,ecdsa-sha2-nistp384,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384-cert-v01@openssh.com,rsa-sha2-256,rsa-sha2-512>debug1: SSH2_MSG_SERVICE_ACCEPT receiveddebug1: Authentications that can continue: publickeydebug1: Next authentication method: publickeydebug1: Offering public key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicitdebug1: Server accepts key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicitdebug1: read_passphrase: can't open /dev/tty: No such device or addressdebug1: No more authentication methods to try.git@bitbucket.org: Permission denied (publickey). (try: 4/6)14:56:46.617162 trace git-lfs: run_command: sh -c ssh -v -- git@bitbucket.org 'git-lfs-authenticate hsvives/wireframe.git upload'14:56:46.627665 trace git-lfs: exec: sh '-c' 'ssh -v -- git@bitbucket.org 'git-lfs-authenticate hsvives/wireframe.git upload''14:56:47.607481 trace git-lfs: ssh: git@bitbucket.org failed, error: exit status 255, message: OpenSSH_8.8p1, OpenSSL 1.1.1m 14 Dec 2021debug1: Reading configuration data /h//.ssh/configdebug1: /h//.ssh/config line 17: Applying options for bitbucket.orgdebug1: Reading configuration data /etc/ssh/ssh_configdebug1: Connecting to bitbucket.org [2406:da00:ff00::22c0:3470] port 22.debug1: Connection established.debug1: identity file some-location/id_atlaskurt521 type 2debug1: identity file some-location/id_atlaskurt521-cert type -1debug1: Local version string SSH-2.0-OpenSSH_8.8debug1: Remote protocol version 2.0, remote software version conker_3aee7f2e9e 29b423ac346fdebug1: compat_banner: no match: conker_3aee7f2e9e 29b423ac346fdebug1: Authenticating to bitbucket.org:22 as 'git'debug1: load_hostkeys: fopen /h/.ssh/known_hosts2: No such file or directorydebug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directorydebug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directorydebug1: SSH2_MSG_KEXINIT sentdebug1: SSH2_MSG_KEXINIT receiveddebug1: kex: algorithm: curve25519-sha256@libssh.orgdebug1: kex: host key algorithm: rsa-sha2-512debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: nonedebug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: nonedebug1: expecting SSH2_MSG_KEX_ECDH_REPLYdebug1: SSH2_MSG_KEX_ECDH_REPLY receiveddebug1: Server host key: ssh-rsa SHA256:z-fingerprint-A
debug1: load_hostkeys: fopen /h/.ssh/known_hosts2: No such file or directorydebug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directorydebug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directorydebug1: Host 'bitbucket.org' is known and matches the RSA host key.debug1: Found key in /h/.ssh/known_hosts:1Host key fingerprint is SHA256:z-fingerprint-A+---[RSA 2048]----+keyimage| |+----[SHA256]-----+debug1: rekey out after 134217728 blocksdebug1: SSH2_MSG_NEWKEYS sentdebug1: expecting SSH2_MSG_NEWKEYSdebug1: SSH2_MSG_NEWKEYS receiveddebug1: rekey in after 134217728 blocksdebug1: Will attempt key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicitdebug1: SSH2_MSG_EXT_INFO receiveddebug1: kex_input_ext_info: server-sig-algs=<ecdsa-sha2-nistp256,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384-cert-v01@openssh.com,rsa-sha2-256,rsa-sha2-512,ssh-dss,ssh-dss-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-rsa,ecdsa-sha2-nistp384,ssh-rsa-cert-v01@openssh.com>debug1: SSH2_MSG_SERVICE_ACCEPT receiveddebug1: Authentications that can continue: publickeydebug1: Next authentication method: publickeydebug1: Offering public key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicitdebug1: Server accepts key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicitdebug1: No more authentication methods to try.git@bitbucket.org: Permission denied (publickey). (try: 5/6)Remote "origin" does not support the LFS locking API. Consider disabling it with:$ git config lfs.https://bitbucket.org/hsvives/wireframe.git/info/lfs.locksverify false14:56:47.612513 trace git-lfs: tq: running as batched queue, batch size of 10014:56:47.614345 trace git-lfs: run_command: git rev-list --objects --ignore-missing --not --remotes=origin --stdin --14:56:47.636105 trace git-lfs: exec: git '-c' 'filter.lfs.smudge=' '-c' 'filter.lfs.clean=' '-c' 'filter.lfs.process=' '-c' 'filter.lfs.required=false' 'cat-file' '--batch-check'14:56:47.653926 trace git-lfs: exec: git '-c' 'filter.lfs.smudge=' '-c' 'filter.lfs.clean=' '-c' 'filter.lfs.process=' '-c' 'filter.lfs.required=false' 'rev-parse' '--git-common-dir'14:56:47.723719 trace git-lfs: exec: cygpath '-w' '.git'14:56:47.782704 trace git-lfs: exec: cygpath '-w' '.git'14:56:47.881743 trace git-lfs: filepathfilter: creating pattern ".git" of type gitignore14:56:47.882893 trace git-lfs: filepathfilter: creating pattern "**/.git" of type gitignore14:56:47.882893 trace git-lfs: filepathfilter: accepting "tmp"14:56:47.883423 run-command.c:654 trace: run_command: git pack-objects --all-progress-implied --revs --stdout --thin --delta-base-offset --progress14:56:47.915462 exec-cmd.c:237 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core14:56:47.915462 git.c:458 trace: built-in: git pack-objects --all-progress-implied --revs --stdout --thin --delta-base-offset --progressEnumerating objects: 6, done.Counting objects: 100% (6/6), done.Delta compression using up to 2 threadsCompressing objects: 100% (3/3), done.Writing objects: 100% (4/4), 518 bytes | 518.00 KiB/s, done.Total 4 (delta 1), reused 0 (delta 0), pack-reused 0debug1: client_input_channel_req: channel 0 rtype exit-status reply 0debug1: channel 0: free: client-session, nchannels 1Transferred: sent 3300, received 2288 bytes, in 11.8 secondsBytes per second: sent 280.6, received 194.5debug1: Exit status 0To bitbucket.org:hsvives/wireframe.git929ceb2..3f347f3 trunk -> trunkwireframe on 🌱 trunk took 54s ❯
Yesterday I managed to push the .atrributes to bitbucket. However today when I tried to push a first LF (a fig file, which is a figma source file) I encountered this error: debug1: read_passphrase: can't open /dev/tty: No such device or addressdebug1: No more authentication methods to try.git@bitbucket.org: Permission denied (publickey).: exit status 255error: failed to push some refs to 'bitbucket.org:hsvives/wireframe.git'debug1: client_input_channel_req: channel 0 rtype exit-status reply 0debug1: channel 0: free: client-session, nchannels 1Transferred: sent 2584, received 2172 bytes, in 16.9 secondsBytes per second: sent 152.9, received 128.5debug1: Exit status 0All help is deeply appreciated. Kind regards from BelgiumKurt
How crazy? Apparantly git lfs works when using the default rsa key. This post helped: https://github.com/git-lfs/git-lfs/issues/3216
Hi, @Kurt Duyck! I'm glad to know everything is working now, thanks for sharing this with us!
Kind regards, Caroline
It looks like you're new here. Sign in or register to get started.