I have a git repo set up on my website which can be accessed by ssh, but every time I push some files to the repo I have to type in my password again. Is there a way in which I only have to type my password in once?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, you have to put your SSH public key on your server, in the
~/.ssh/authorized_keysfile.You can find your public key on your local machine, in the
~/.ssh/id_rsa.pubfile (supposing you are on a Unix system, I don’t know the location of this key on Windows).