One clue. I tried to ssh from git bash window as written on
https://www.mediawiki.org/wiki/Gerrit/Tutorial
For some reasons, it is looking for my SSH key in obscure non-existing
directories. I don't know where comes this idea from. Maybe pageant is
useless?
How can I set the pass to my key?

$ *ssh -p 29418 -v bin...@gerrit.wikimedia.org
<bin...@gerrit.wikimedia.org>*
OpenSSH_9.1p1, OpenSSL 1.1.1s  1 Nov 2022
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to gerrit.wikimedia.org [208.80.154.137] port 29418.
debug1: Connection established.
debug1: identity file /c/Users/\303\211n/.ssh/id_rsa type 0
debug1: identity file /c/Users/\303\211n/.ssh/id_rsa-cert type -1
debug1: identity file /c/Users/\303\211n/.ssh/id_ecdsa type -1
debug1: identity file /c/Users/\303\211n/.ssh/id_ecdsa-cert type -1
debug1: identity file /c/Users/\303\211n/.ssh/id_ecdsa_sk type -1
debug1: identity file /c/Users/\303\211n/.ssh/id_ecdsa_sk-cert type -1
debug1: identity file /c/Users/\303\211n/.ssh/id_ed25519 type -1
debug1: identity file /c/Users/\303\211n/.ssh/id_ed25519-cert type -1
debug1: identity file /c/Users/\303\211n/.ssh/id_ed25519_sk type -1
debug1: identity file /c/Users/\303\211n/.ssh/id_ed25519_sk-cert type -1
debug1: identity file /c/Users/\303\211n/.ssh/id_xmss type -1
debug1: identity file /c/Users/\303\211n/.ssh/id_xmss-cert type -1
debug1: identity file /c/Users/\303\211n/.ssh/id_dsa type -1
debug1: identity file /c/Users/\303\211n/.ssh/id_dsa-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_9.1
debug1: Remote protocol version 2.0, remote software version
GerritCodeReview_3.5.4 (APACHE-SSHD-2.8.0)
debug1: compat_banner: no match: GerritCodeReview_3.5.4 (APACHE-SSHD-2.8.0)
debug1: Authenticating to gerrit.wikimedia.org:29418 as 'binbot'
debug1: load_hostkeys: fopen /c/Users/\303\211n/.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
debug1: kex: host key algorithm: rsa-sha2-512
debug1: kex: server->client cipher: chacha20-poly1...@openssh.com MAC:
<implicit> compression: none
debug1: kex: client->server cipher: chacha20-poly1...@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:j7HQoQ6fIuEgDHjONjI2CZ+2Iwxqgo2Ur5LbPqBgxOU
debug1: load_hostkeys: fopen /c/Users/\303\211n/.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 '[gerrit.wikimedia.org]:29418' is known and matches the RSA
host key.
debug1: Found key in /c/Users/\303\211n/.ssh/known_hosts:1
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: /c/Users/\303\211n/.ssh/id_rsa RSA
SHA256:DfAqdC9y6xXr96g5JuTbf/Y7BXoojtoi8JHO/XAirvo
debug1: Will attempt key: /c/Users/\303\211n/.ssh/id_ecdsa
debug1: Will attempt key: /c/Users/\303\211n/.ssh/id_ecdsa_sk
debug1: Will attempt key: /c/Users/\303\211n/.ssh/id_ed25519
debug1: Will attempt key: /c/Users/\303\211n/.ssh/id_ed25519_sk
debug1: Will attempt key: /c/Users/\303\211n/.ssh/id_xmss
debug1: Will attempt key: /c/Users/\303\211n/.ssh/id_dsa
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<
ecdsa-sha2-nistp256-cert-...@openssh.com,
ecdsa-sha2-nistp384-cert-...@openssh.com,
ecdsa-sha2-nistp521-cert-...@openssh.com,ssh-ed25519-cert-...@openssh.com,
rsa-sha2-512-cert-...@openssh.com,rsa-sha2-256-cert-...@openssh.com
,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,
sk-ecdsa-sha2-nistp...@openssh.com,sk-ssh-ed25...@openssh.com
,rsa-sha2-512,rsa-sha2-256,ssh-rsa>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: /c/Users/\303\211n/.ssh/id_rsa RSA
SHA256:DfAqdC9y6xXr96g5JuTbf/Y7BXoojtoi8JHO/XAirvo
debug1: Authentications that can continue: publickey
debug1: Trying private key: /c/Users/\303\211n/.ssh/id_ecdsa
debug1: Trying private key: /c/Users/\303\211n/.ssh/id_ecdsa_sk
debug1: Trying private key: /c/Users/\303\211n/.ssh/id_ed25519
debug1: Trying private key: /c/Users/\303\211n/.ssh/id_ed25519_sk
debug1: Trying private key: /c/Users/\303\211n/.ssh/id_xmss
debug1: Trying private key: /c/Users/\303\211n/.ssh/id_dsa
debug1: No more authentication methods to try.
bin...@gerrit.wikimedia.org: Permission denied (publickey).
_______________________________________________
pywikibot mailing list -- pywikibot@lists.wikimedia.org
Public archives at 
https://lists.wikimedia.org/hyperkitty/list/pywikibot@lists.wikimedia.org/message/LVEUTVVJI42RCGRRGXY2RZSHLR5FMZZ2/
To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org

Reply via email to