Hello Vincent,

Thank you for your response.

I have added the -p 987 (my port is 971 and used same) but i am still 
getting the same error. 

*Error:*

==> digitalocean: Uploading /root/packer/config => /home/deploy/.ssh/
1 items:  37 B / 37 B 
[=================================================================================================================================================================================]
 
1s
==> digitalocean: Provisioning with shell script: ch.sh
==> digitalocean: Provisioning with shell script: /tmp/packer-shell441758894
    digitalocean: SSH_CLIENT='1.2.3.4 54238 22'
    digitalocean: SSH_CONNECTION='1.2.3.4 54238 2.3.4.5 22'
    digitalocean: Could not open a connection to your authentication agent.

Please help me to fix this issue. I am really run out of ideas.

Really appreciated your help and guidance.



On Wednesday, January 2, 2019 at 11:02:52 PM UTC+5:30, Vincent Rubiolo 
wrote:
>
> Hi  Tekchand,
>
> Rickard already provided a lot of useful information about the SSH 
> connection. On my end, I wanted to ask: could this be a file permission 
> issue?
> I see
>
>> *fatal: could not create work tree dir 'test-packr-clone': Permission 
>> denied"*
>
> which hints to me at a file permission problem when creating the clone 
> (i.e during sth like 'mkdir').
>
> Which directory are you calling the 'git clone' command from (this is not 
> obvious from your Playbook)? I'd check you have write rights to that 
> directory with your user or switch to one where you do.
>
> HTH,
>
> Vincent 
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/715f9d09-1d3d-45f7-85db-f241bec709d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to