极狐GitLab 正式推出面向 GitLab 老旧版本(12.x、13.x、14.x、15.x 等)免费用户的专业升级服务,点击查看详情

返回列表 发布新帖

ssh公钥和私钥认证不通过,复制公钥到gitlab指纹验证都对,私钥权限也对,就是提示cuo

51 0
发表于 3 天前 | 显示全部楼层 阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×
从你提供的详细调试信息来看,尽管进行了诸多操作,包括权限设置、密钥检查等,但仍然无法成功通过 SSH 连接到 GitLab,错误依旧是权限被拒(Permission denied (publickey))。以下是一些进一步的分析和解决建议:
公钥与 GitLab 服务器的匹配问题:
虽然你已经多次检查并添加了公钥到 GitLab,但有可能在复制粘贴过程中出现了格式问题或者公钥本身不完整。再次打开 d:/vay_project/.ssh/id_ed25519.pub 文件,确保公钥内容是完整的一行,没有多余的空格或换行符。然后重新复制内容,登录 GitLab 账户,进入 SSH 密钥设置页面,删除现有的公钥并重新添加,确保添加过程中没有误操作。
可以尝试在 GitLab 上添加公钥时,将公钥内容先粘贴到一个文本编辑器(如 Notepad)中,检查格式无误后再复制到 GitLab 的输入框中,避免直接从文件复制到网页输入框时可能出现的格式转换问题。
SSH 代理相关问题:
调试信息中显示 debug3: unable to connect to pipe \\\\.\\pipe\\openssh-ssh-agent, error: 2,这表明可能存在 SSH 代理连接问题。尝试完全关闭并重新启动 SSH 代理服务。在 PowerShell 中,先运行 Stop-Service ssh-agent 命令(如果之前已经停止,可以跳过这一步),然后运行 Start-Service ssh-agent 命令来启动代理。
再次使用 ssh-add 命令添加私钥,确保私钥正确加载到代理中。例如:ssh-add d:/vay_project/.ssh/id_ed25519。
SSH 配置文件(config):
之前尝试重命名 config 文件时提示文件不存在,这是正常的。但如果之后你创建了该文件,需要再次确认其内容是否正确。确保配置文件中关于 GitLab 的设置是准确的,例如:
plaintext
Host gitlab.com
  HostName gitlab.com
  User git
  IdentityFile d:/vay_project/.ssh/id_ed25519

同时,检查 config 文件的权限设置,确保只有当前用户有读写权限。
密钥权限问题:
尽管你已经对私钥文件 d:/vay_project/.ssh/id_ed25519 进行了权限设置,但可以再次确认权限是否正确。在 Windows 资源管理器中,右键点击该文件,选择 “属性”,切换到 “安全” 选项卡,确保只有当前用户(DESKTOP-0TKK9VE\31910)和 NT AUTHORITY\SYSTEM 具有完全控制((F))权限,没有其他不必要的用户或组拥有权限。弄了N天就是重复同样的事情。请求帮忙。
ws PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
                                                                                                                        Try the new cross-platform PowerShell https://aka.ms/pscore6                                                                                                                                                                                    Active code page: 65001                                                                                                 PS C:\Windows\system32> Get-Process -Id (Get-NetTCPConnection -LocalPort 22 -ErrorAction Ignore).OwningProcess -ErrorAction Ignore
Get-Process : Cannot bind argument to parameter 'Id' because it is null.
At line:1 char:17
+ ... Process -Id (Get-NetTCPConnection -LocalPort 22 -ErrorAction Ignore). ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: ( [Get-Process], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.GetProcessC
   ommand

PS C:\Windows\system32> if ($conn = Get-NetTCPConnection -LocalPort 22 -ErrorAction Ignore) {
>>   Get-Process -Id $conn.OwningProcess
>> }
PS C:\Windows\system32> Get-NetTCPConnection -LocalPort 22 -ErrorAction Ignore | ForEach-Object { Get-Process -Id $_.OwningProcess }
PS C:\Windows\system32> netsh advfirewall firewall delete rule name="OpenSSH" 2>$null

No rules match the specified criteria.

PS C:\Windows\system32> Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0


Path          :
Online        : True
RestartNeeded : False



PS C:\Windows\system32> Get-WindowsCapability -Online | Where-Object Name -like 'OpenSSH.Client*' | Add-WindowsCapability -Online


Path          :
Online        : True
RestartNeeded : False



PS C:\Windows\system32> # 在.ssh目录下生成配置文件(Windows/PowerShell)
>> echo "Host gitlab.com`n  HostName gitlab.com`n  IdentityFile ~/.ssh/id_ed25519`n  User git" > ~/.ssh/config
out-file : Could not find a part of the path 'C:\Users\31910\.ssh\config'.
At line:2 char:1
+ echo "Host gitlab.com`n  HostName gitlab.com`n  IdentityFile ~/.ssh/i ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OpenError: ( [Out-File], DirectoryNotFoundException
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand

PS C:\Windows\system32> @"
>> Host gitlab.com
>>   HostName gitlab.com
>>   IdentityFile d:/vay_project/.ssh/id_ed25519
>>   User git
>> "@ | Set-Content -Path "d:/vay_project/.ssh/config"
PS C:\Windows\system32> @"
>> Host gitlab.com
>>   HostName gitlab.com
>>   IdentityFile d:/vay_project/.ssh/id_ed25519
>>   User git
>> "@ | Set-Content -Path "d:/vay_project/.ssh/config"Test-Path -Path "d:/vay_project/.ssh/config"
Set-Content : Cannot bind parameter because parameter 'Path' is specified more than once. To provide multiple values to
parameters that can accept multiple values, use the array syntax. For example, "-parameter value1,value2,value3".
At line:6 char:62
+ ... Set-Content -Path "d:/vay_project/.ssh/config"Test-Path -Path "d:/vay ...
+                                                             ~~~~~
    + CategoryInfo          : InvalidArgument: ( [Set-Content], ParameterBindingException
    + FullyQualifiedErrorId : ParameterAlreadyBound,Microsoft.PowerShell.Commands.SetContentCommand

PS C:\Windows\system32> @"
>> Host gitlab.com
>> HostName gitlab.com
>> IdentityFile d:/vay_project/.ssh/id_ed25519
>> User git
>> "@ | Set-Content -Path "d:/vay_project/.ssh/config"
PS C:\Windows\system32> Test-Path -Path "d:/vay_project/.ssh/config"
True
PS C:\Windows\system32> Test-Path -Path "d:/vay_project/.ssh/config"
True
PS C:\Windows\system32> Get-Content d:/vay_project/.ssh/config
Host gitlab.com
HostName gitlab.com
IdentityFile d:/vay_project/.ssh/id_ed25519
User git
PS C:\Windows\system32> icacls "d:/vay_project/.ssh/id_ed25519"
d:/vay_project/.ssh/id_ed25519 BUILTIN\AdministratorsF)
                               NT AUTHORITY\SYSTEMF)
                               DESKTOP-0TKK9VE\31910M)

Successfully processed 1 files; Failed processing 0 files
PS C:\Windows\system32> icacls "d:/vay_project/.ssh/id_ed25519" /remove "BUILTIN\Administrators"
processed file: d:/vay_project/.ssh/id_ed25519
Successfully processed 1 files; Failed processing 0 files
PS C:\Windows\system32> icacls "d:/vay_project/.ssh/id_ed25519" /grant:r "$env:USERNAMEF)"
Invalid parameter "(F)"
PS C:\Windows\system32> NT AUTHORITY\SYSTEMF)
F : The term 'F' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spell
ing of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:22
+ NT AUTHORITY\SYSTEMF)
+                      ~
    + CategoryInfo          : ObjectNotFound: (F:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\Windows\system32> NT AUTHORITY\SYSTEMF)ssh -T git@gitlab.com -i d:/vay_project/.ssh/id_ed25519 -v
F : The term 'F' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spell
ing of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:22
+ NT AUTHORITY\SYSTEMF)ssh -T git@gitlab.com -i d:/vay_project/.ssh/i ...
+                      ~
    + CategoryInfo          : ObjectNotFound: (F:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\Windows\system32> icacls "d:/vay_project/.ssh/id_ed25519" /remove "BUILTIN\Administrators"
processed file: d:/vay_project/.ssh/id_ed25519
Successfully processed 1 files; Failed processing 0 files
PS C:\Windows\system32> icacls "d:/vay_project/.ssh/id_ed25519" /grant:r "$env:USERNAMEF)"
Invalid parameter "(F)"
PS C:\Windows\system32> ssh -T git@gitlab.com -i d:/vay_project/.ssh/id_ed25519 -v
OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2
debug1: Connecting to gitlab.com [172.65.251.78] port 22.
debug1: Connection established.
debug1: identity file d:/vay_project/.ssh/id_ed25519 type 3
debug1: identity file d:/vay_project/.ssh/id_ed25519-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_for_Windows_9.5
debug1: Remote protocol version 2.0, remote software version GitLab-SSHD
debug1: compat_banner: no match: GitLab-SSHD
debug1: Authenticating to gitlab.com:22 as 'git'
debug1: load_hostkeys: fopen C:\\Users\\31910/.ssh/known_hosts: No such file or directory
debug1: load_hostkeys: fopen C:\\Users\\31910/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen __PROGRAMDATA__\\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: 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:eUXGGm1YGsMAS7vkcx6JOJdOGHPem5gQp4taiCfCLB8
debug1: load_hostkeys: fopen C:\\Users\\31910/.ssh/known_hosts: No such file or directory
debug1: load_hostkeys: fopen C:\\Users\\31910/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts2: No such file or directory
debug1: hostkeys_find_by_key_hostfile: hostkeys file C:\\Users\\31910/.ssh/known_hosts does not exist
debug1: hostkeys_find_by_key_hostfile: hostkeys file C:\\Users\\31910/.ssh/known_hosts2 does not exist
debug1: hostkeys_find_by_key_hostfile: hostkeys file __PROGRAMDATA__\\ssh/ssh_known_hosts does not exist
debug1: hostkeys_find_by_key_hostfile: hostkeys file __PROGRAMDATA__\\ssh/ssh_known_hosts2 does not exist
The authenticity of host 'gitlab.com (172.65.251.78)' can't be established.
ED25519 key fingerprint is SHA256:eUXGGm1YGsMAS7vkcx6JOJdOGHPem5gQp4taiCfCLB8.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'gitlab.com' (ED25519) to the list of known hosts.
debug1: ssh_packet_send2_wrapped: resetting send seqnr 3
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
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: get_agent_identities: agent returned 2 keys
debug1: Will attempt key: your_email@example.com ED25519 SHA256:fsTb5HamFrfVqeOnmxKUVZCps9rUJsEa1zqrUHFOZvE agent
debug1: Will attempt key: your_email@example.com ED25519 SHA256:Oosneco39K6eY8SsBzbJWbpphJSdoY83sdcRKWZw58Y agent
debug1: Will attempt key: d:/vay_project/.ssh/id_ed25519 ED25519 SHA256:xo0aLpVrn9dv77mO7dyDEdyVuZSBwO6jy0nXTsiAnVI explicit
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-256,rsa-sha2-512,ssh-rsa,ssh-dss>
debug1: kex_ext_info_check_ver: ping@openssh.com=<0>
Connection closed by 172.65.251.78 port 22
PS C:\Windows\system32> cat d:/vay_project/.ssh/id_ed25519.pub
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOx/N8fHnu/S26RgPK2A9UdsW+nG7px4gGuOjgyIGTWT 31910@DESKTOP-0TKK9VE
PS C:\Windows\system32> icacls "d:/vay_project/.ssh/id_ed25519"
d:/vay_project/.ssh/id_ed25519 NT AUTHORITY\SYSTEMF)
                               DESKTOP-0TKK9VE\31910:(M)

Successfully processed 1 files; Failed processing 0 files
PS C:\Windows\system32> ssh -T git@gitlab.com -i d:/vay_project/.ssh/id_ed25519 -o IdentitiesOnly=yes -v
OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2
debug1: Connecting to gitlab.com [172.65.251.78] port 22.
debug1: Connection established.
debug1: identity file d:/vay_project/.ssh/id_ed25519 type 3
debug1: identity file d:/vay_project/.ssh/id_ed25519-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_for_Windows_9.5
debug1: Remote protocol version 2.0, remote software version GitLab-SSHD
debug1: compat_banner: no match: GitLab-SSHD
debug1: Authenticating to gitlab.com:22 as 'git'
debug1: load_hostkeys: fopen C:\\Users\\31910/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen __PROGRAMDATA__\\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: 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:eUXGGm1YGsMAS7vkcx6JOJdOGHPem5gQp4taiCfCLB8
debug1: load_hostkeys: fopen C:\\Users\\31910/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts2: No such file or directory
debug1: Host 'gitlab.com' is known and matches the ED25519 host key.
debug1: Found key in C:\\Users\\31910/.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: 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: get_agent_identities: agent returned 2 keys
debug1: Will attempt key: d:/vay_project/.ssh/id_ed25519 ED25519 SHA256:xo0aLpVrn9dv77mO7dyDEdyVuZSBwO6jy0nXTsiAnVI explicit
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-256,rsa-sha2-512,ssh-rsa,ssh-dss>
debug1: kex_ext_info_check_ver: ping@openssh.com=<0>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: d:/vay_project/.ssh/id_ed25519 ED25519 SHA256:xo0aLpVrn9dv77mO7dyDEdyVuZSBwO6jy0nXTsiAnVI explicit
debug1: Authentications that can continue: publickey
debug1: No more authentication methods to try.
git@gitlab.com: Permission denied (publickey).
PS C:\Windows\system32> icacls "d:/vay_project/.ssh/id_ed25519" /grant:r "DESKTOP-0TKK9VE\31910":(F)
F : The term 'F' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:75
+ ... "d:/vay_project/.ssh/id_ed25519" /grant:r "DESKTOP-0TKK9VE\31910":(F)
+                                                                        ~
    + CategoryInfo          : ObjectNotFound: (F:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\Windows\system32> icacls "d:/vay_project/.ssh/id_ed25519" /grant:r "DESKTOP-0TKK9VE\31910:`(F`)"
processed file: d:/vay_project/.ssh/id_ed25519
Successfully processed 1 files; Failed processing 0 files
PS C:\Windows\system32> icacls "d:/vay_project/.ssh/id_ed25519"
d:/vay_project/.ssh/id_ed25519 NT AUTHORITY\SYSTEM:(F)
                               DESKTOP-0TKK9VE\31910:(F)

Successfully processed 1 files; Failed processing 0 files
PS C:\Windows\system32> ren ~/.ssh/config config.bak
ren : Cannot rename because item at '~/.ssh/config' does not exist.
At line:1 char:1
+ ren ~/.ssh/config config.bak
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: ( [Rename-Item], PSInvalidOperationException
    + FullyQualifiedErrorId : InvalidOperation,Microsoft.PowerShell.Commands.RenameItemCommand

PS C:\Windows\system32> cat d:/vay_project/.ssh/id_ed25519.pub
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOx/N8fHnu/S26RgPK2A9UdsW+nG7px4gGuOjgyIGTWT 31910@DESKTOP-0TKK9VE
PS C:\Windows\system32> ssh -T git@gitlab.com -i d:/vay_project/.ssh/id_ed25519 -v
OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2
debug1: Connecting to gitlab.com [172.65.251.78] port 22.
debug1: Connection established.
debug1: identity file d:/vay_project/.ssh/id_ed25519 type 3
debug1: identity file d:/vay_project/.ssh/id_ed25519-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_for_Windows_9.5
debug1: Remote protocol version 2.0, remote software version GitLab-SSHD
debug1: compat_banner: no match: GitLab-SSHD
debug1: Authenticating to gitlab.com:22 as 'git'
debug1: load_hostkeys: fopen C:\\Users\\31910/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen __PROGRAMDATA__\\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: 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:eUXGGm1YGsMAS7vkcx6JOJdOGHPem5gQp4taiCfCLB8
debug1: load_hostkeys: fopen C:\\Users\\31910/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts2: No such file or directory
debug1: Host 'gitlab.com' is known and matches the ED25519 host key.
debug1: Found key in C:\\Users\\31910/.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: 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: get_agent_identities: agent returned 2 keys
debug1: Will attempt key: your_email@example.com ED25519 SHA256:fsTb5HamFrfVqeOnmxKUVZCps9rUJsEa1zqrUHFOZvE agent
debug1: Will attempt key: your_email@example.com ED25519 SHA256:Oosneco39K6eY8SsBzbJWbpphJSdoY83sdcRKWZw58Y agent
debug1: Will attempt key: d:/vay_project/.ssh/id_ed25519 ED25519 SHA256:xo0aLpVrn9dv77mO7dyDEdyVuZSBwO6jy0nXTsiAnVI explicit
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-256,rsa-sha2-512,ssh-rsa,ssh-dss>
debug1: kex_ext_info_check_ver: ping@openssh.com=<0>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: your_email@example.com ED25519 SHA256:fsTb5HamFrfVqeOnmxKUVZCps9rUJsEa1zqrUHFOZvE agent
debug1: Authentications that can continue: publickey
debug1: Offering public key: your_email@example.com ED25519 SHA256:Oosneco39K6eY8SsBzbJWbpphJSdoY83sdcRKWZw58Y agent
debug1: Authentications that can continue: publickey
debug1: Offering public key: d:/vay_project/.ssh/id_ed25519 ED25519 SHA256:xo0aLpVrn9dv77mO7dyDEdyVuZSBwO6jy0nXTsiAnVI explicit
debug1: Authentications that can continue: publickey
debug1: No more authentication methods to try.
git@gitlab.com: Permission denied (publickey).
PS C:\Windows\system32> ssh -T git@gitlab.com -i d:/vay_project/.ssh/id_ed25519 -o IdentitiesOnly=yes -v
OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2
debug1: Connecting to gitlab.com [172.65.251.78] port 22.
debug1: Connection established.
debug1: identity file d:/vay_project/.ssh/id_ed25519 type 3
debug1: identity file d:/vay_project/.ssh/id_ed25519-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_for_Windows_9.5
debug1: Remote protocol version 2.0, remote software version GitLab-SSHD
debug1: compat_banner: no match: GitLab-SSHD
debug1: Authenticating to gitlab.com:22 as 'git'
debug1: load_hostkeys: fopen C:\\Users\\31910/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen __PROGRAMDATA__\\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: 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:eUXGGm1YGsMAS7vkcx6JOJdOGHPem5gQp4taiCfCLB8
debug1: load_hostkeys: fopen C:\\Users\\31910/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts2: No such file or directory
debug1: Host 'gitlab.com' is known and matches the ED25519 host key.
debug1: Found key in C:\\Users\\31910/.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: 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: get_agent_identities: agent returned 2 keys
debug1: Will attempt key: d:/vay_project/.ssh/id_ed25519 ED25519 SHA256:xo0aLpVrn9dv77mO7dyDEdyVuZSBwO6jy0nXTsiAnVI explicit
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-256,rsa-sha2-512,ssh-rsa,ssh-dss>
debug1: kex_ext_info_check_ver: ping@openssh.com=<0>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: d:/vay_project/.ssh/id_ed25519 ED25519 SHA256:xo0aLpVrn9dv77mO7dyDEdyVuZSBwO6jy0nXTsiAnVI explicit
debug1: Authentications that can continue: publickey
debug1: No more authentication methods to try.
git@gitlab.com: Permission denied (publickey).
PS C:\Windows\system32> ssh-keygen -l -f d:/vay_project/.ssh/id_ed25519
256 SHA256:xo0aLpVrn9dv77mO7dyDEdyVuZSBwO6jy0nXTsiAnVI 31910@DESKTOP-0TKK9VE (ED25519)
PS C:\Windows\system32> cat d:/vay_project/.ssh/id_ed25519.pub | clip
PS C:\Windows\system32> ssh -T git@gitlab.com -i d:/vay_project/.ssh/id_ed25519 -o IdentitiesOnly=yes
git@gitlab.com: Permission denied (publickey).
PS C:\Windows\system32> icacls "d:/vay_project/.ssh/id_ed25519" /reset
processed file: d:/vay_project/.ssh/id_ed25519
Successfully processed 1 files; Failed processing 0 files
PS C:\Windows\system32> icacls "d:/vay_project/.ssh/id_ed25519" /grant:r "$env:username:(R)"
Invalid parameter "(R)"
PS C:\Windows\system32> ssh -T git@gitlab.com -i "d:\vay_project\.ssh\id_ed25519" -v
OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2
debug1: Connecting to gitlab.com [172.65.251.78] port 22.
debug1: Connection established.
debug1: identity file d:\\vay_project\\.ssh\\id_ed25519 type 3
debug1: identity file d:\\vay_project\\.ssh\\id_ed25519-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_for_Windows_9.5
debug1: Remote protocol version 2.0, remote software version GitLab-SSHD
debug1: compat_banner: no match: GitLab-SSHD
debug1: Authenticating to gitlab.com:22 as 'git'
debug1: load_hostkeys: fopen C:\\Users\\31910/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen __PROGRAMDATA__\\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: 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:eUXGGm1YGsMAS7vkcx6JOJdOGHPem5gQp4taiCfCLB8
debug1: load_hostkeys: fopen C:\\Users\\31910/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts2: No such file or directory
debug1: Host 'gitlab.com' is known and matches the ED25519 host key.
debug1: Found key in C:\\Users\\31910/.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: 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: get_agent_identities: agent returned 2 keys
debug1: Will attempt key: your_email@example.com ED25519 SHA256:fsTb5HamFrfVqeOnmxKUVZCps9rUJsEa1zqrUHFOZvE agent
debug1: Will attempt key: your_email@example.com ED25519 SHA256:Oosneco39K6eY8SsBzbJWbpphJSdoY83sdcRKWZw58Y agent
debug1: Will attempt key: d:\\vay_project\\.ssh\\id_ed25519 ED25519 SHA256:xo0aLpVrn9dv77mO7dyDEdyVuZSBwO6jy0nXTsiAnVI explicit
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-256,rsa-sha2-512,ssh-rsa,ssh-dss>
debug1: kex_ext_info_check_ver: ping@openssh.com=<0>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: your_email@example.com ED25519 SHA256:fsTb5HamFrfVqeOnmxKUVZCps9rUJsEa1zqrUHFOZvE agent
debug1: Authentications that can continue: publickey
debug1: Offering public key: your_email@example.com ED25519 SHA256:Oosneco39K6eY8SsBzbJWbpphJSdoY83sdcRKWZw58Y agent
debug1: Authentications that can continue: publickey
debug1: Offering public key: d:\\vay_project\\.ssh\\id_ed25519 ED25519 SHA256:xo0aLpVrn9dv77mO7dyDEdyVuZSBwO6jy0nXTsiAnVI explicit
debug1: Authentications that can continue: publickey
debug1: No more authentication methods to try.
git@gitlab.com: Permission denied (publickey).
PS C:\Windows\system32> ren $env:USERPROFILE\.ssh\config config_backup
ren : Cannot rename because item at 'C:\Users\31910\.ssh\config' does not exist.
At line:1 char:1
+ ren $env:USERPROFILE\.ssh\config config_backup
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: ( [Rename-Item], PSInvalidOperationException
    + FullyQualifiedErrorId : InvalidOperation,Microsoft.PowerShell.Commands.RenameItemCommand

PS C:\Windows\system32> Stop-Service ssh-agent -Force
PS C:\Windows\system32> Stop-Service ssh-agent -Force
PS C:\Windows\system32> Get-Process ssh-agent | Stop-Process -Force
Get-Process : Cannot find a process with the name "ssh-agent". Verify the process name and call the cmdlet again.
At line:1 char:1
+ Get-Process ssh-agent | Stop-Process -Force
+ ~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (ssh-agent:String) [Get-Process], ProcessCommandException
    + FullyQualifiedErrorId : NoProcessFoundForGivenName,Microsoft.PowerShell.Commands.GetProcessCommand

PS C:\Windows\system32> Get-Process ssh* | Stop-Process -Force -ErrorAction SilentlyContinue
PS C:\Windows\system32> icacls "d:\vay_project\.ssh\id_ed25519" | findstr "$env:username"
d:\vay_project\.ssh\id_ed25519 DESKTOP-0TKK9VE\31910:(I)(F)
PS C:\Windows\system32> icacls "d:\vay_project\.ssh\id_ed25519" /inheritance:r /grant:r *S-1-5-32-545:(R)
icacls "d:\vay_project\.ssh\id_ed25519" | findstr "$env:username"
Invalid parameter "*S-1-5-32-545:"
PS C:\Windows\system32> icacls "d:\vay_project\.ssh\id_ed25519" | Select-String "31910"

d:\vay_project\.ssh\id_ed25519 DESKTOP-0TKK9VE\31910:(I)(F)


PS C:\Windows\system32> ssh -T -o HostKeyAlgorithms=ssh-ed25519 git@gitlab.com -i d:\vay_project\.ssh\id_ed25519
git@gitlab.com: Permission denied (publickey).
PS C:\Windows\system32> takeown /f d:\vay_project\.ssh\id_ed25519 /a && icacls .ssh\id_ed25519 /remove:g "Authenticated Users"
At line:1 char:46
+ takeown /f d:\vay_project\.ssh\id_ed25519 /a && icacls .ssh\id_ed2551 ...
+                                              ~~
The token '&&' is not a valid statement separator in this version.
    + CategoryInfo          : ParserError: ( [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : InvalidEndOfLine

PS C:\Windows\system32> icacls "d:\vay_project\.ssh\id_ed25519" /remove:d * /q
Successfully processed 0 files; Failed processing 0 files
PS C:\Windows\system32> icacls "d:\vay_project\.ssh\id_ed25519" /grant:r "$env:username:(R)"
Invalid parameter "(R)"
PS C:\Windows\system32> takeown /f d:\vay_project\.ssh\id_ed25519 /a

SUCCESS: The file (or folder): "d:\vay_project\.ssh\id_ed25519" now owned by the administrators group.
PS C:\Windows\system32> icacls "d:\vay_project\.ssh\id_ed25519" /remove:g "Authenticated Users"
processed file: d:\vay_project\.ssh\id_ed25519
Successfully processed 1 files; Failed processing 0 files
PS C:\Windows\system32> ssh -Tvvv -o IdentitiesOnly=yes -i d:\vay_project\.ssh\id_ed25519 git@gitlab.com
OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2
debug3: Failed to open file:C:/Users/31910/.ssh/config error:2
debug3: Failed to open file:C:/ProgramData/ssh/ssh_config error:2
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> 'C:\\Users\\31910/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> 'C:\\Users\\31910/.ssh/known_hosts2'
debug2: resolving "gitlab.com" port 22
debug3: resolve_host: lookup gitlab.com:22
debug3: ssh_connect_direct: entering
debug1: Connecting to gitlab.com [172.65.251.78] port 22.
debug1: Connection established.
debug1: identity file d:\\vay_project\\.ssh\\id_ed25519 type 3
debug3: Failed to open file:d:/vay_project/.ssh/id_ed25519-cert error:2
debug3: Failed to open file:d:/vay_project/.ssh/id_ed25519-cert.pub error:2
debug3: failed to open file:d:/vay_project/.ssh/id_ed25519-cert error:2
debug1: identity file d:\\vay_project\\.ssh\\id_ed25519-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_for_Windows_9.5
debug1: Remote protocol version 2.0, remote software version GitLab-SSHD
debug1: compat_banner: no match: GitLab-SSHD
debug2: fd 3 setting O_NONBLOCK
debug1: Authenticating to gitlab.com:22 as 'git'
debug3: record_hostkey: found key type ED25519 in file C:\\Users\\31910/.ssh/known_hosts:1
debug3: load_hostkeys_file: loaded 1 keys from gitlab.com
debug3: Failed to open file:C:/Users/31910/.ssh/known_hosts2 error:2
debug1: load_hostkeys: fopen C:\\Users\\31910/.ssh/known_hosts2: No such file or directory
debug3: Failed to open file:C:/ProgramData/ssh/ssh_known_hosts error:2
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts: No such file or directory
debug3: Failed to open file:C:/ProgramData/ssh/ssh_known_hosts2 error:2
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts2: No such file or directory
debug3: order_hostkeyalgs: have matching best-preference key type ssh-ed25519-cert-v01@openssh.com, using HostkeyAlgorithms verbatim
debug3: send packet: type 20
debug1: SSH2_MSG_KEXINIT sent
debug3: receive packet: type 20
debug1: SSH2_MSG_KEXINIT received
debug2: local client KEXINIT proposal
debug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,ext-info-c,kex-strict-c-v00@openssh.com
debug2: host key algorithms: ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256
debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512
debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512
debug2: compression ctos: none,zlib@openssh.com,zlib
debug2: compression stoc: none,zlib@openssh.com,zlib
debug2: languages ctos:
debug2: languages stoc:
debug2: first_kex_follows 0
debug2: reserved 0
debug2: peer server KEXINIT proposal
debug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,kex-strict-s-v00@openssh.com
debug2: host key algorithms: ssh-dss,ecdsa-sha2-nistp256,ssh-ed25519,rsa-sha2-256,rsa-sha2-512,ssh-rsa
debug2: ciphers ctos: aes128-gcm@openssh.com,chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr
debug2: ciphers stoc: aes128-gcm@openssh.com,chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr
debug2: MACs ctos: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: MACs stoc: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: compression ctos: none
debug2: compression stoc: none
debug2: languages ctos:
debug2: languages stoc:
debug2: first_kex_follows 0
debug2: reserved 0
debug3: kex_choose_conf: will use strict KEX ordering
debug1: kex: algorithm: curve25519-sha256
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
debug3: send packet: type 30
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug3: receive packet: type 31
debug1: SSH2_MSG_KEX_ECDH_REPLY received
debug1: Server host key: ssh-ed25519 SHA256:eUXGGm1YGsMAS7vkcx6JOJdOGHPem5gQp4taiCfCLB8
debug3: record_hostkey: found key type ED25519 in file C:\\Users\\31910/.ssh/known_hosts:1
debug3: load_hostkeys_file: loaded 1 keys from gitlab.com
debug3: Failed to open file:C:/Users/31910/.ssh/known_hosts2 error:2
debug1: load_hostkeys: fopen C:\\Users\\31910/.ssh/known_hosts2: No such file or directory
debug3: Failed to open file:C:/ProgramData/ssh/ssh_known_hosts error:2
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts: No such file or directory
debug3: Failed to open file:C:/ProgramData/ssh/ssh_known_hosts2 error:2
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts2: No such file or directory
debug1: Host 'gitlab.com' is known and matches the ED25519 host key.
debug1: Found key in C:\\Users\\31910/.ssh/known_hosts:1
debug3: send packet: type 21
debug1: ssh_packet_send2_wrapped: resetting send seqnr 3
debug2: ssh_set_newkeys: mode 1
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug3: receive packet: type 21
debug1: ssh_packet_read_poll2: resetting read seqnr 3
debug1: SSH2_MSG_NEWKEYS received
debug2: ssh_set_newkeys: mode 0
debug1: rekey in after 134217728 blocks
debug3: ssh_get_authentication_socket_path: path '\\\\.\\pipe\\openssh-ssh-agent'
debug3: unable to connect to pipe \\\\.\\pipe\\openssh-ssh-agent, error: 2
debug1: get_agent_identities: ssh_get_authentication_socket: No such file or directory
debug1: Will attempt key: d:\\vay_project\\.ssh\\id_ed25519 ED25519 SHA256:xo0aLpVrn9dv77mO7dyDEdyVuZSBwO6jy0nXTsiAnVI explicit
debug2: pubkey_prepare: done
debug3: send packet: type 5
debug3: receive packet: type 7
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-256,rsa-sha2-512,ssh-rsa,ssh-dss>
debug1: kex_ext_info_check_ver: ping@openssh.com=<0>
debug3: receive packet: type 6
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug3: send packet: type 50
debug3: receive packet: type 51
debug1: Authentications that can continue: publickey
debug3: start over, passed a different list publickey
debug3: preferred publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Offering public key: d:\\vay_project\\.ssh\\id_ed25519 ED25519 SHA256:xo0aLpVrn9dv77mO7dyDEdyVuZSBwO6jy0nXTsiAnVI explicit
debug3: send packet: type 50
debug2: we sent a publickey packet, wait for reply
debug3: receive packet: type 51
debug1: Authentications that can continue: publickey
debug2: we did not send a packet, disable method
debug1: No more authentication methods to try.
git@gitlab.com: Permission denied (publickey).
PS C:\Windows\system32>

回复

使用道具 举报

意见建议

Email:forum@gitlab.cn
  • 关注公众号
  • 添加专业顾问
Copyright © 2001-2025 极狐GitLab论坛 版权所有 All Rights Reserved. 鄂ICP备2021008419号-1|鄂公网安备42018502006137号
关灯 快速发帖
扫一扫添加专业顾问
返回顶部
快速回复 返回顶部 返回列表