I wrote a shell script to do project releasing with Git which would be integrated n bamboo, in the shell script I first cd to the Git working copy and then do git pull origin master. But it prompts me for password: git@localhost's password:Any idea on how to solve this? I already tried using ssh-agent but for some reason ssh-add command does nothing.
Asked
Active
Viewed 1,850 times
0
-
Can you use a ssh key file instead of a password? This works for me. – Paul Aug 15 '13 at 03:12
-
you dont want it ask for password? – Abhishek Aug 15 '13 at 03:13
-
Could you please give more details about the ***exact commands*** you tried to use for `ssh-agent` and `ssh-add`? – Aug 15 '13 at 03:16
-
I do want it to ask for password but since I am using bamboo I can not have the user enter password for every single run.I probable could use ssh key file but I'm not sure how to do that. Any good links to proceed in that direction? – Hans Wallice Aug 15 '13 at 14:02