Is the identity file readable by just owner? ssh is finicky about permissions.
you could toss a -vvv onto ssh to get more informative output.
On Wed, Aug 22, 2012 at 10:13 AM, Edward Sargisson < "> > wrote:
> Hi all,
> I'm feeling really stupid at not being able to spot this problem but I'm at
> a dead end.
> My chef recipe is using a git deploy with the wrapper from .
> The recipe fragment is:
> git "Terrain" do
> repository " :ejsarge/Terrain.git"
> revision "master"
> action :sync
> destination "/var/lib/trailhunger/map/terrain"
> user "ubuntu"
> ssh_wrapper "/tmp/private_code/wrap-ssh4git.sh"
> The command line and output is:
> git clone -v :ejsarge/Terrain.git
> Initialized empty Git repository in /mnt/var/trailhunger/map/terrain/.git/
> : No such file or directory
> fatal: The remote end hung up unexpectedly
> Investigation shows that it's the wrapper which is producing that output and
> does so when run on its own.
> My wrapper is currently:
> #!/usr/bin/env /bin/bash
> /usr/bin/env /usr/bin/ssh -o "StrictHostKeyChecking=no" -i
> "/tmp/private_code/.ssh/id_deploy" $1 $2
> All paths seem correct and readable. I've run everything through strace
> several times and that's not telling me much.
> What am I missing?
> Thanks for your help.
> Edward Sargisson
> Founder, TrailHunger.com
> w: www.trailhunger.com t: +1 877 876 2991 m: +1 778 239 2718
> Get trail news and running health updates: @trailhunger
Archive powered by MHonArc 2.6.16.