-
-
Save yarkovaleksei/361e2a1a9225b083762c1e6c0617c376 to your computer and use it in GitHub Desktop.
Bitbucket via authkey (putty)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Сгенерировать ключ с помощью PuttyGen | |
1.1. Сохранить private key в файл. | |
1.2. Скопировать публичный ключ в буфер обмена | |
2. Добавить скопированные публичный ключ в BitBucket (Manage Account -> SSH key) | |
3. Запустить PAgent и добавить приватный ключ. | |
4. Выполнить команду: plink git@bitbucket.org | |
4.1. На вопрос: Store key in cache? (y/n) ответить y | |
4.2. Если все сделано правильно, то будет вывод | |
Using username "git". | |
Server refused to allocate pty | |
logged in as <логин на Bitbucket>. | |
You can use git or hg to connect to Bitbucket. Shell access is disabled. | |
5. Можно работать с git. Не забываем изменить URL, если репозиторий уже был клонирован! | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment