Just a followup.. if I just execute the following command "sh -c 'if [ -d /u/apps/ptcassets/shared/cached-copy ]; then cd /u/apps/ptcassets/shared/cached-copy && git fetch -q origin && git fetch --tags -q origin && git reset -q --hard 52ea7382fb5324a946809b45c841d20ed2234f9a && git clean -q -d -x -f; else git clone -q -b rails3_conversion ssh://angrygreg@testserver/var/repos/ptcassets /u/apps/ptcassets/shared/cached-copy && cd /u/apps/ptcassets/shared/cached-copy && git checkout -q -b deploy 52ea7382fb5324a946809b45c841d20ed2234f9a; fi'"
It works fine Greg Akins Insomnia Consulting, LLC [email protected] 724 454 7790 (cell) http://www.linkedin.com/company/2942338?trk=tyah On Fri, Aug 16, 2013 at 2:14 PM, Greg Akins <[email protected]> wrote: > I'm having trouble getting a git clone to work and it appears to be > related to permissions. I am using the correct password for > angrygreg@testserver So I'm not sure why I'm getting a "Permission > Denied" message. I've used the -d flag ,but it doesn't give me much > more information > > Can anyone suggest other approaches to figure out why this is happening? > > * executing "if [ -d /u/apps/ptcassets/shared/cached-copy ]; then cd > /u/apps/ptcassets/shared/cached-copy && git fetch -q origin && git > fetch --tags -q origin && git reset -q --hard > 52ea7382fb5324a946809b45c841d20ed2234f9a && git clean -q -d -x -f; > else git clone -q -b rails3_conversion > ssh://angrygreg@testserver/var/repos/ptcassets > /u/apps/ptcassets/shared/cached-copy && cd > /u/apps/ptcassets/shared/cached-copy && git checkout -q -b deploy > 52ea7382fb5324a946809b45c841d20ed2234f9a; fi" > servers: ["devserver"] > Password: > [devserver] executing command > ** [devserver :: out] akinsgp@srvlpittst2's password: > Password: > ** [devserver :: out] > ** [devserver :: out] Permission denied, please try again. > ** angrygreg@testserver's password: > Password: > ** [devserver :: out] > ** [devserver :: out] Permission denied, please try again. > ** angrygreg@ testserver's password: > > Greg Akins > Insomnia Consulting, LLC > [email protected] > 724 454 7790 (cell) > http://www.linkedin.com/company/2942338?trk=tyah -- -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to [email protected] * To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano?hl=en --- You received this message because you are subscribed to the Google Groups "Capistrano" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
