On Mon, 30 Sep 2013 22:26:11 -0700 (PDT) Jhovarie Guiang <barik7...@gmail.com> wrote:
> Im trying to execute git clone syntax and my syntax is > "git clone jhovarie@54.214.171.112:/home/jhovarie/trunk_test.git" > > and my question is how to include my password to this syntax? > example like this > "git clone > jhovarie:(mypassword)@54.214.171.112:/home/jhovarie/trunk_test.git" > > or > > "git clone > jhovarie@54.214.171.112:/home/jhovarie:(mypassword)/trunk_test.git" > this two syntax doest not work please help I really need the answer > to my question. Consider employing pubkey-based authentication and an SSH agent (or, if *absolutely* needed -- for instance for unattended automated jobs -- an unencrypted key), as Thomas suggested. If using keyboard-interactive authentication is a requirement, consider running Git via sshpass [1] (simpler) or Expect [2] (harder) -- both tools allocate a pseudo TTY and are able to interact with SSH client spawned by Git as if they were the user entering the password at the supplied prompt. But again, by all means first consider deploying pubkey-based authentication! 1. http://sourceforge.net/projects/sshpass/ 2. http://expect.sourceforge.net/ -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.