Bug 53309

Summary: [2.3] join halt@
Product: Team Accounts Reporter: Dmitry V. Kustov <kustovdv>
Component: joinAssignee: Gleb F-Malinovskiy <glebfm>
Status: ASSIGNED --- QA Contact: Andrey Cherepanov <cas>
Severity: normal    
Priority: P5 CC: glebfm, ldv, shaba
Version: unspecified   
Hardware: all   
OS: Linux   
Attachments:
Description Flags
ssh public key
none
gpg public key
none
gpg public key исправленный none

Description Dmitry V. Kustov 2025-03-04 18:41:55 MSK
Created attachment 17885 [details]
ssh public key

Дмитрий В. Кустов

Псевдоним: halt
Почта:     kustovdv@basealt.ru
Ментор:    Алексей Шабалин <shaba@altlinux.org>

Цель: участие в разработке отечественного линукса ALT.
Comment 1 Dmitry V. Kustov 2025-03-04 18:43:23 MSK
Created attachment 17886 [details]
gpg public key
Comment 2 Gleb F-Malinovskiy 2025-03-05 18:26:26 MSK
(In reply to Dmitry V. Kustov from comment #1)
> Created attachment 17886 [details]
> gpg public key
Этот ключ не подойдёт.
См. https://www.altlinux.org/Team/Join/Candidate#Сбор_информации
Comment 3 Dmitry V. Kustov 2025-03-06 14:22:45 MSK
Created attachment 17919 [details]
gpg public key исправленный
Comment 4 Alexey Shabalin 2025-03-06 15:32:16 MSK
Принимаю кандидата
Comment 5 Gleb F-Malinovskiy 2025-03-06 15:38:41 MSK
Ментор есть, ключи в порядке.
T/J/S -> 1.3.
Comment 6 Alexey Shabalin 2025-03-13 19:03:21 MSK
Кандидат готов начать вступление.
T/J/S -> 2.0.
Comment 7 Gleb F-Malinovskiy 2025-04-03 16:11:21 MSK
ssh ключ на gitery.alt зарегистрирован.
Адрес для пересылки создан.

T/J/S -> 2.3.
Comment 8 Dmitry V. Kustov 2025-05-15 12:57:43 MSK
Меня не пускает по public ключу.

bash-5.2$ ssh -v gitery init-db gcli
OpenSSH_9.6p1, OpenSSL 3.3.3 11 Feb 2025
debug1: Reading configuration data /home/dkustov/.ssh/config
debug1: Reading configuration data /etc/openssh/ssh_config
debug1: /etc/openssh/ssh_config line 2: Applying options for gitery
debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling
debug1: Connecting to gitery.altlinux.org [194.107.17.122] port 222.
debug1: Connection established.
debug1: identity file /home/dkustov/.ssh/id_ed25519 type 3
debug1: identity file /home/dkustov/.ssh/id_ed25519-cert type -1
debug1: identity file /home/dkustov/.ssh/id_ed25519_sk type -1
debug1: identity file /home/dkustov/.ssh/id_ed25519_sk-cert type -1
debug1: identity file /home/dkustov/.ssh/id_rsa type -1
debug1: identity file /home/dkustov/.ssh/id_rsa-cert type -1
debug1: identity file /home/dkustov/.ssh/id_ecdsa type -1
debug1: identity file /home/dkustov/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/dkustov/.ssh/id_ecdsa_sk type -1
debug1: identity file /home/dkustov/.ssh/id_ecdsa_sk-cert type -1
debug1: identity file /home/dkustov/.ssh/id_dsa type -1
debug1: identity file /home/dkustov/.ssh/id_dsa-cert type -1
debug1: identity file /home/dkustov/.ssh/id_xmss type -1
debug1: identity file /home/dkustov/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_9.6
debug1: Remote protocol version 2.0, remote software version OpenSSH_9.6
debug1: compat_banner: match: OpenSSH_9.6 pat OpenSSH* compat 0x04000000
debug1: Authenticating to gitery.altlinux.org:222 as 'halt'
debug1: load_hostkeys: fopen /etc/openssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/openssh/ssh_known_hosts2: No such file or directory
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: sntrup761x25519-sha512@openssh.com
debug1: kex: host key algorithm: ssh-ed25519
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-ed25519 SHA256:DahxEyPOJhC3UrmfwEK8sgMkGExzioAKQXjWK5+Mvuk
debug1: load_hostkeys: fopen /etc/openssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/openssh/ssh_known_hosts2: No such file or directory
debug1: Host '[gitery.altlinux.org]:222' is known and matches the ED25519 host key.
debug1: Found key in /home/dkustov/.ssh/known_hosts:1
debug1: ssh_packet_send2_wrapped: resetting send seqnr 3
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: Sending SSH2_MSG_EXT_INFO
debug1: expecting SSH2_MSG_NEWKEYS
debug1: ssh_packet_read_poll2: resetting read seqnr 3
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 134217728 blocks
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_ext_info_client_parse: server-sig-algs=<ssh-ed25519,sk-ssh-ed25519@openssh.com,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,sk-ecdsa-sha2-nistp256@openssh.com>
debug1: kex_ext_info_check_ver: publickey-hostbound@openssh.com=<0>
debug1: kex_ext_info_check_ver: ping@openssh.com=<0>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_ext_info_client_parse: server-sig-algs=<ssh-ed25519,sk-ssh-ed25519@openssh.com,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,sk-ecdsa-sha2-nistp256@openssh.com>
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: get_agent_identities: bound agent to hostkey
debug1: get_agent_identities: ssh_fetch_identitylist: agent contains no identities
debug1: Will attempt key: /home/dkustov/.ssh/id_ed25519 ED25519 SHA256:jdXbZWr2WbzCsCVfkvPC72ssCCtnAMNqqxoLt6r/9EU
debug1: Will attempt key: /home/dkustov/.ssh/id_ed25519_sk 
debug1: Will attempt key: /home/dkustov/.ssh/id_rsa 
debug1: Will attempt key: /home/dkustov/.ssh/id_ecdsa 
debug1: Will attempt key: /home/dkustov/.ssh/id_ecdsa_sk 
debug1: Will attempt key: /home/dkustov/.ssh/id_dsa 
debug1: Will attempt key: /home/dkustov/.ssh/id_xmss 
debug1: Offering public key: /home/dkustov/.ssh/id_ed25519 ED25519 SHA256:jdXbZWr2WbzCsCVfkvPC72ssCCtnAMNqqxoLt6r/9EU
debug1: Authentications that can continue: publickey
debug1: Trying private key: /home/dkustov/.ssh/id_ed25519_sk
debug1: Trying private key: /home/dkustov/.ssh/id_rsa
debug1: Trying private key: /home/dkustov/.ssh/id_ecdsa
debug1: Trying private key: /home/dkustov/.ssh/id_ecdsa_sk
debug1: Trying private key: /home/dkustov/.ssh/id_dsa
debug1: Trying private key: /home/dkustov/.ssh/id_xmss
debug1: No more authentication methods to try.
ssh: halt@gitery.altlinux.org: Permission denied (publickey).
Comment 9 Gleb F-Malinovskiy 2025-05-15 13:03:48 MSK
(In reply to Dmitry V. Kustov from comment #8)
> Меня не пускает по public ключу.
[...]
> ssh: halt@gitery.altlinux.org: Permission denied (publickey).
У вас ошибка вот тут: User должно быть alt_<nickname>.
Comment 10 Dmitry V. Kustov 2025-05-15 13:05:20 MSK
Извините за невнимательность. Все получилось. Спасибо!