git ssh доступ

git remote set-url origin git@github.com:vaajnur/phpjsru.git
// bitbucket
git remote set-url origin git@bitbucket.org:vaajnur/phpjsru.git
git remote -v
cat ~/.ssh/id_ed25519.pub

ssh ключи добавляются тут:

https://bitbucket.org/account/settings/ssh-keys/

https://github.com/settings/keys

ssh -T git@bitbucket.org

logged in as vaajnur

git pull origin master

полезные команды

ssh-add
eval `ssh-agent`

отдельный ключ


ssh-keygen -f ~/.ssh/user88-key-ecdsa -t ecdsa

nano ~/.ssh/config
Host user88@bitbucket.org
    HostName user88@bitbucket.org
    User user88
    IdentityFile /home/aaa/.ssh/user88-key-ecdsa.pub

Leave a comment

Your email address will not be published.


*