Answer the question
In order to leave comments, you need to log in
Git pull still asking for username/password (ssh configured by manual)?
Used this guide jeka.by/post/1051/setup-ssh-keys-for-bitbucket-github
ssh -t bitbucket.org
Gives an error: PTY allocation request failed on channel 0
Tried to change permissions for the .ssh directory. Nothing changes. All the same, when git ull asks for a username and password.
An example of a public key, maybe this is the case:
ssh-rsa AAAA ... gIt [email protected]
Does the owner of the folder in which we perform git pull have to be root or www-data is also suitable? Do I need to indicate the real IP address of the server after the @ symbol, or is what the "ssh-keygen -t rsa" command creates workable by default?
Answer the question
In order to leave comments, you need to log in
in ~/.ssh/config
I would write like this:
Host bitbucket.org github.com
IdentityFile ~/.ssh/git_rsa
User git
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question