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 regards
Kurt
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.
Kind regards
Kurt
wireframe on 🌱 trunk [🏎💨] ❯ $Env:GIT_TRACE=1
wireframe on 🌱 trunk [🏎💨] ❯ $Env:GIT_SSH_COMMAND="ssh -v"
wireframe on 🌱 trunk [🏎💨] ❯ $Env:GIT_CURL_VERBOSE=1
wireframe on 🌱 trunk [🏎💨] ❯ g push
14:55:54.255044 exec-cmd.c:237 trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
14:55:54.259048 git.c:458 trace: built-in: git push
14: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 2021
debug1: Reading configuration data /h//.ssh/config
debug1: /h//.ssh/config line 17: Applying options for bitbucket.org
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to bitbucket.org [2406:da00:ff00::22c0:3470] port 22.
debug1: Connection established.
debug1: identity file some-location/id_atlaskurt521 type 2
debug1: identity file some-location/id_atlaskurt521-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.8
debug1: Remote protocol version 2.0, remote software version conker_3aee7f2e9e 2e849f98cf5f
debug1: compat_banner: no match: conker_3aee7f2e9e 2e849f98cf5f
debug1: Authenticating to bitbucket.org:22 as 'git'
debug1: load_hostkeys: fopen /h/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256@libssh.org
debug1: kex: host key algorithm: rsa-sha2-512
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: SSH2_MSG_KEX_ECDH_REPLY received
debug1: Server host key: ssh-rsa SHA256:z-fingerprint-A
debug1: load_hostkeys: fopen /h/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: Host 'bitbucket.org' is known and matches the RSA host key.
debug1: Found key in /h/.ssh/known_hosts:1
Host key fingerprint is SHA256:z-fingerprint-A
+---[RSA 2048]----+
keyimage
| . = * o |
| |
+----[SHA256]-----+
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 134217728 blocks
debug1: Will attempt key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicit
debug1: SSH2_MSG_EXT_INFO received
debug1: 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 received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicit
debug1: Server accepts key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicit
Enter 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 full
debug1: 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.git
14:56:37.472127 exec-cmd.c:237 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:56:37.485141 git.c:746 trace: exec: git-lfs pre-push origin git@bitbucket.org:hsvives/wireframe.git
14:56:37.485141 run-command.c:654 trace: run_command: git-lfs pre-push origin git@bitbucket.org:hsvives/wireframe.git
14: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: uname
14: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 connection
14: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): EOF
14:56:39.520594 trace git-lfs: pre-push: refs/heads/trunk 3f347f38d04f1641c8ac9466774a23262404dbe8 refs/heads/trunk 929ceb22e9fee290de2f45e6d1e4b18904abf75d
14: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 connection
14: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): EOF
14: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 2021
debug1: Reading configuration data /h//.ssh/config
debug1: /h//.ssh/config line 17: Applying options for bitbucket.org
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to bitbucket.org [2406:da00:ff00::22c0:3470] port 22.
debug1: Connection established.
debug1: identity file some-location/id_atlaskurt521 type 2
debug1: identity file some-location/id_atlaskurt521-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.8
debug1: Remote protocol version 2.0, remote software version conker_3aee7f2e9e 83c36e2a9a40
debug1: compat_banner: no match: conker_3aee7f2e9e 83c36e2a9a40
debug1: Authenticating to bitbucket.org:22 as 'git'
debug1: load_hostkeys: fopen /h/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256@libssh.org
debug1: kex: host key algorithm: rsa-sha2-512
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: SSH2_MSG_KEX_ECDH_REPLY received
debug1: Server host key: ssh-rsa SHA256:z-fingerprint-A
debug1: load_hostkeys: fopen /h/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: Host 'bitbucket.org' is known and matches the RSA host key.
debug1: Found key in /h/.ssh/known_hosts:1
Host key fingerprint is SHA256:z-fingerprint-A
+---[RSA 2048]----+
keyimage
| . = * o |
| |
+----[SHA256]-----+
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 134217728 blocks
debug1: Will attempt key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicit
debug1: SSH2_MSG_EXT_INFO received
debug1: 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 received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicit
debug1: Server accepts key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicit
debug1: read_passphrase: can't open /dev/tty: No such device or address
debug1: 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 2021
debug1: Reading configuration data /h//.ssh/config
debug1: /h//.ssh/config line 17: Applying options for bitbucket.org
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to bitbucket.org [2406:da00:ff00::22c0:3470] port 22.
debug1: Connection established.
debug1: identity file some-location/id_atlaskurt521 type 2
debug1: identity file some-location/id_atlaskurt521-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.8
debug1: Remote protocol version 2.0, remote software version conker_3aee7f2e9e 6c9b1864cfbd
debug1: compat_banner: no match: conker_3aee7f2e9e 6c9b1864cfbd
debug1: Authenticating to bitbucket.org:22 as 'git'
debug1: load_hostkeys: fopen /h/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256@libssh.org
debug1: kex: host key algorithm: rsa-sha2-512
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: SSH2_MSG_KEX_ECDH_REPLY received
debug1: Server host key: ssh-rsa SHA256:z-fingerprint-A
debug1: load_hostkeys: fopen /h/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: Host 'bitbucket.org' is known and matches the RSA host key.
debug1: Found key in /h/.ssh/known_hosts:1
Host key fingerprint is SHA256:z-fingerprint-A
+---[RSA 2048]----+
keyimage
| . = * o |
| |
+----[SHA256]-----+
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 134217728 blocks
debug1: Will attempt key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicit
debug1: SSH2_MSG_EXT_INFO received
debug1: 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 received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicit
debug1: Server accepts key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicit
debug1: read_passphrase: can't open /dev/tty: No such device or address
debug1: 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 2021
debug1: Reading configuration data /h//.ssh/config
debug1: /h//.ssh/config line 17: Applying options for bitbucket.org
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to bitbucket.org [2406:da00:ff00::22c0:3470] port 22.
debug1: Connection established.
debug1: identity file some-location/id_atlaskurt521 type 2
debug1: identity file some-location/id_atlaskurt521-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.8
debug1: Remote protocol version 2.0, remote software version conker_3aee7f2e9e 6583240dd6c0
debug1: compat_banner: no match: conker_3aee7f2e9e 6583240dd6c0
debug1: Authenticating to bitbucket.org:22 as 'git'
debug1: load_hostkeys: fopen /h/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256@libssh.org
debug1: kex: host key algorithm: rsa-sha2-512
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: SSH2_MSG_KEX_ECDH_REPLY received
debug1: Server host key: ssh-rsa SHA256:z-fingerprint-A
debug1: load_hostkeys: fopen /h/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: Host 'bitbucket.org' is known and matches the RSA host key.
debug1: Found key in /h/.ssh/known_hosts:1
Host key fingerprint is SHA256:z-fingerprint-A
+---[RSA 2048]----+
keyimage
| . = * o |
| |
+----[SHA256]-----+
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 134217728 blocks
debug1: Will attempt key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicit
debug1: SSH2_MSG_EXT_INFO received
debug1: 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 received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicit
debug1: Server accepts key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicit
debug1: read_passphrase: can't open /dev/tty: No such device or address
debug1: 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 2021
debug1: Reading configuration data /h//.ssh/config
debug1: /h//.ssh/config line 17: Applying options for bitbucket.org
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to bitbucket.org [2406:da00:ff00::22c0:3470] port 22.
debug1: Connection established.
debug1: identity file some-location/id_atlaskurt521 type 2
debug1: identity file some-location/id_atlaskurt521-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.8
debug1: Remote protocol version 2.0, remote software version conker_3aee7f2e9e 9093126cca4c
debug1: compat_banner: no match: conker_3aee7f2e9e 9093126cca4c
debug1: Authenticating to bitbucket.org:22 as 'git'
debug1: load_hostkeys: fopen /h/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256@libssh.org
debug1: kex: host key algorithm: rsa-sha2-512
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: SSH2_MSG_KEX_ECDH_REPLY received
debug1: Server host key: ssh-rsa SHA256:z-fingerprint-A
debug1: load_hostkeys: fopen /h/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: Host 'bitbucket.org' is known and matches the RSA host key.
debug1: Found key in /h/.ssh/known_hosts:1
Host key fingerprint is SHA256:z-fingerprint-A
+---[RSA 2048]----+
keyimage
| . = * o |
| |
+----[SHA256]-----+
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 134217728 blocks
debug1: Will attempt key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicit
debug1: SSH2_MSG_EXT_INFO received
debug1: 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 received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicit
debug1: Server accepts key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicit
debug1: read_passphrase: can't open /dev/tty: No such device or address
debug1: 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 2021
debug1: Reading configuration data /h//.ssh/config
debug1: /h//.ssh/config line 17: Applying options for bitbucket.org
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to bitbucket.org [2406:da00:ff00::22c0:3470] port 22.
debug1: Connection established.
debug1: identity file some-location/id_atlaskurt521 type 2
debug1: identity file some-location/id_atlaskurt521-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.8
debug1: Remote protocol version 2.0, remote software version conker_3aee7f2e9e 29b423ac346f
debug1: compat_banner: no match: conker_3aee7f2e9e 29b423ac346f
debug1: Authenticating to bitbucket.org:22 as 'git'
debug1: load_hostkeys: fopen /h/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256@libssh.org
debug1: kex: host key algorithm: rsa-sha2-512
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: SSH2_MSG_KEX_ECDH_REPLY received
debug1: Server host key: ssh-rsa SHA256:z-fingerprint-A
debug1: load_hostkeys: fopen /h/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: Host 'bitbucket.org' is known and matches the RSA host key.
debug1: Found key in /h/.ssh/known_hosts:1
Host key fingerprint is SHA256:z-fingerprint-A
+---[RSA 2048]----+
keyimage
| . = * o |
| |
+----[SHA256]-----+
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 134217728 blocks
debug1: Will attempt key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicit
debug1: SSH2_MSG_EXT_INFO received
debug1: 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 received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicit
debug1: Server accepts key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicit
debug1: read_passphrase: can't open /dev/tty: No such device or address
debug1: 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 2021
debug1: Reading configuration data /h//.ssh/config
debug1: /h//.ssh/config line 17: Applying options for bitbucket.org
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to bitbucket.org [2406:da00:ff00::22c0:3470] port 22.
debug1: Connection established.
debug1: identity file some-location/id_atlaskurt521 type 2
debug1: identity file some-location/id_atlaskurt521-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.8
debug1: Remote protocol version 2.0, remote software version conker_3aee7f2e9e 29b423ac346f
debug1: compat_banner: no match: conker_3aee7f2e9e 29b423ac346f
debug1: Authenticating to bitbucket.org:22 as 'git'
debug1: load_hostkeys: fopen /h/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256@libssh.org
debug1: kex: host key algorithm: rsa-sha2-512
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: SSH2_MSG_KEX_ECDH_REPLY received
debug1: Server host key: ssh-rsa SHA256:z-fingerprint-A
debug1: load_hostkeys: fopen /h/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: Host 'bitbucket.org' is known and matches the RSA host key.
debug1: Found key in /h/.ssh/known_hosts:1
Host key fingerprint is SHA256:z-fingerprint-A
+---[RSA 2048]----+
keyimage
| |
+----[SHA256]-----+
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 134217728 blocks
debug1: Will attempt key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicit
debug1: SSH2_MSG_EXT_INFO received
debug1: 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 received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicit
debug1: Server accepts key: some-location/id_atlaskurt521 ECDSA SHA256:some-string/RE1Cs8 explicit
debug1: 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 false
14:56:47.612513 trace git-lfs: tq: running as batched queue, batch size of 100
14: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 gitignore
14:56:47.882893 trace git-lfs: filepathfilter: creating pattern "**/.git" of type gitignore
14: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 --progress
14:56:47.915462 exec-cmd.c:237 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:56:47.915462 git.c:458 trace: built-in: git pack-objects --all-progress-implied --revs --stdout --thin --delta-base-offset --progress
Enumerating objects: 6, done.
Counting objects: 100% (6/6), done.
Delta compression using up to 2 threads
Compressing 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 0
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: channel 0: free: client-session, nchannels 1
Transferred: sent 3300, received 2288 bytes, in 11.8 seconds
Bytes per second: sent 280.6, received 194.5
debug1: Exit status 0
To bitbucket.org:hsvives/wireframe.git
929ceb2..3f347f3 trunk -> trunk
wireframe on 🌱 trunk took 54s ❯
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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Caroline
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 address
debug1: No more authentication methods to try.
git@bitbucket.org: Permission denied (publickey).: exit status 255
error: failed to push some refs to 'bitbucket.org:hsvives/wireframe.git'
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: channel 0: free: client-session, nchannels 1
Transferred: sent 2584, received 2172 bytes, in 16.9 seconds
Bytes per second: sent 152.9, received 128.5
debug1: Exit status 0
All help is deeply appreciated.
Kind regards from Belgium
Kurt
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How crazy? Apparantly git lfs works when using the default rsa key.
This post helped:
https://github.com/git-lfs/git-lfs/issues/3216
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, @Kurt Duyck! I'm glad to know everything is working now, thanks for sharing this with us!
Kind regards,
Caroline
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.