View Single Post
05/20/22, 12:53 AM   #1
Drummerx04
AddOn Author - Click to view addons
Join Date: Sep 2017
Posts: 54
Git Authentication Issue

I'm trying to get a git repo set up for one of my addons on this site.

I'm following along this help page

Using git bash for windows, I run the following:

Code:
ssh-keygen -t ed25519 -C "[email protected]"
This succeeds and outputs keys (id_ed25519 and id_ed25519.pub) to the default directory ~/.ssh/

I then copy the public key onto ESOUI as described in the link provided.

However, I error out when authenticating. For debugging, I ran this
Code:
ssh -vT [email protected]
And the Output:
Code:
OpenSSH_8.8p1, OpenSSL 1.1.1m  14 Dec 2021
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to git.esoui.com [45.79.1.181] port 22.
debug1: Connection established.
debug1: identity file ~/.ssh/id_rsa type 0
debug1: identity file ~/.ssh/id_rsa-cert type -1
debug1: identity file ~/.ssh/id_dsa type -1
debug1: identity file ~/.ssh/id_dsa-cert type -1
debug1: identity file ~/.ssh/id_ecdsa type -1
debug1: identity file ~/.ssh/id_ecdsa-cert type -1
debug1: identity file ~/.ssh/id_ecdsa_sk type -1
debug1: identity file ~/.ssh/id_ecdsa_sk-cert type -1
debug1: identity file ~/.ssh/id_ed25519 type 3            #Local Key is recognized
debug1: identity file ~/.ssh/id_ed25519-cert type -1
debug1: identity file ~/.ssh/id_ed25519_sk type -1
debug1: identity file ~/.ssh/id_ed25519_sk-cert type -1
debug1: identity file ~/.ssh/id_xmss type -1
debug1: identity file ~/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.8
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.9p1 Debian-5ubuntu1.10
debug1: compat_banner: match: OpenSSH_5.9p1 Debian-5ubuntu1.10 pat OpenSSH_5* compat 0x0c000002
debug1: Authenticating to git.esoui.com:22 as 'git'
debug1: load_hostkeys: fopen ~/.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: ecdh-sha2-nistp256
debug1: kex: host key algorithm: ecdsa-sha2-nistp256
debug1: kex: server->client cipher: aes128-ctr MAC: [email protected] compression: none
debug1: kex: client->server cipher: aes128-ctr MAC: [email protected] compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: SSH2_MSG_KEX_ECDH_REPLY received
debug1: Server host key: ecdsa-sha2-nistp256 SHA256:q23OVanVJTzTUMuO5vZv9UqBib7I/kG+fIoR8t2tY18
debug1: load_hostkeys: fopen ~/.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 'git.esoui.com' is known and matches the ECDSA host key.
debug1: Found key in ~/.ssh/known_hosts:1
debug1: rekey out after 4294967296 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 4294967296 blocks
debug1: Will attempt key: ~/.ssh/id_rsa RSA SHA256:<fingerprint>
debug1: Will attempt key: ~/.ssh/id_dsa 
debug1: Will attempt key: ~/.ssh/id_ecdsa 
debug1: Will attempt key: ~/.ssh/id_ecdsa_sk 
debug1: Will attempt key: ~/.ssh/id_ed25519 ED25519 SHA256:<fingerprint>
debug1: Will attempt key: ~/.ssh/id_ed25519_sk 
debug1: Will attempt key: ~/.ssh/id_xmss 
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: ~/.ssh/id_rsa RSA SHA256:<fingerprint>
debug1: send_pubkey_test: no mutual signature algorithm
debug1: Trying private key: ~/.ssh/id_dsa
debug1: Trying private key: ~/.ssh/id_ecdsa
debug1: Trying private key: ~/.ssh/id_ecdsa_sk
debug1: Offering public key: ~/.ssh/id_ed25519 ED25519 SHA256:<figerprint>
debug1: Authentications that can continue: publickey
debug1: Trying private key: ~/.ssh/id_ed25519_sk
debug1: Trying private key: ~/.ssh/id_xmss
debug1: No more authentication methods to try.
[email protected]: Permission denied (publickey).
At the bottom is the error I get when trying to use git with my repo. I'm at a bit of a loss as to what may be happening. Has anyone encountered this error on ESOUI and managed to fix it?
  Reply With Quote