1

I would like to run a git pull with ssh key in a script.

However, password of the ssh-key is required and I did not find anything in the man page that says we can give password as parameter.

I am looking for something like this (if possible):

eval $(ssh-agent -s)

ssh-add mykey -p keypassword

Is there a way to achieve this ?

Itération 122442
  • 1,911
  • 19
  • 51

0 Answers0