GIT - bitbucket - добавить ssh ключ

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Перейти к:навигация, поиск

GIT - bitbucket - добавить ssh ключ

# ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
Created directory '/root/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
87:40:40:ab:61:86:6d:6f:a3:c0:2a:58:9b:fa:3f:51 [email protected]
The key's randomart image is:
+--[ RSA 2048]----+
|   .o..          |
| o   o           |
|. * . .          |
|.+ +  E. .       |
|..o +.  S .      |
|oo =..   .       |
|+ +  .           |
|..  .            |
|......           |
+-----------------+




avatar > Bitbucket settings --> Click SSH keys --> Добавляем свой ключ, который мы сгенерировали в /root/.ssh/id_rsa.pub