четверг, 26 февраля 2026 г.

GitLab, SSH Keys

GitLab, SSH Keys

https://gitlab.com/-/user_settings/ssh_keys/

Administrator@WIN-JCJHGC94KVS MINGW64 /d/projects/vs (master)

$ git push -u origin master

The authenticity of host 'gitlab.com (2606:4700:90:0:f22e:fbec:5bed:a9b9)' 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])?


Administrator@WIN-JCJHGC94KVS MINGW64 /d/projects/vs

$ git push -u origin master

The authenticity of host 'gitlab.com (2606:4700:90:0:f22e:fbec:5bed:a9b9)' 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.

git@gitlab.com: Permission denied (publickey).

fatal: Could not read from remote repository.


Please make sure you have the correct access rights

and the repository exists.


Administrator@WIN-JCJHGC94KVS MINGW64 /d/projects/vs (master)

$ ^C


Administrator@WIN-JCJHGC94KVS MINGW64 /d/projects/vs (master)

$ ssh-keygen -t ed25519 -C "gs_soft@mail.ru"

Generating public/private ed25519 key pair.

Enter file in which to save the key (/c/Users/Administrator/.ssh/id_ed25519):


Administrator@WIN-JCJHGC94KVS MINGW64 /d/projects/vs (master)

$ ssh-keygen -t ed25519 -C "gs_soft@mail.ru"

Generating public/private ed25519 key pair.

Enter file in which to save the key (/c/Users/Administrator/.ssh/id_ed25519):

Enter passphrase for "/c/Users/Administrator/.ssh/id_ed25519" (empty for no passphrase):

Enter same passphrase again:

Your identification has been saved in /c/Users/Administrator/.ssh/id_ed25519

Your public key has been saved in /c/Users/Administrator/.ssh/id_ed25519.pub

The key fingerprint is:

SHA256:uyZN7+n1wM/6/L8gkYdw+BUewGZoqmfXaU1ORRw5McE gs_soft@mail.ru

The key's randomart image is:

+--[ED25519 256]--+

|          o..o+*=|

|         o.+. oE.|

|        ooo. o. .|

|       .  + +o   |

|      . S .=*.   |

|     . o.o =oo   |

|      ooo...+.   |

|      . o..o.*.  |

|       o.o+ .o*o=|

+----[SHA256]-----+


Administrator@WIN-JCJHGC94KVS MINGW64 /d/projects/vs (master)

$ cat ~/.ssh/id_ed25519.pub

ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFIFmzhVDaQZ7hChrYkHm329YXx8QYYX+nLSe0+3T/SH gs_soft@mail.ru


Administrator@WIN-JCJHGC94KVS MINGW64 /d/projects/vs (master)

$ git status

On branch master

nothing to commit, working tree clean