# Capistrano::ConnectionError

**URL:** <https://www.ruby-forum.com/t/capistrano-connectionerror/132265>\
**Category:** Deployment\
**Created:** [March 18, 2008, 2:37pm UTC](https://www.ruby-forum.com/t/capistrano-connectionerror/132265 "2008-03-18T14:37:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wolfmanjm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/3da27b/32.png) [@wolfmanjm](https://www.ruby-forum.com/u/wolfmanjm)\
**Post date:** [March 18, 2008, 2:37pm UTC](https://www.ruby-forum.com/t/capistrano-connectionerror/132265/1 "2008-03-18T14:37:22Z")

</div>

Hi. Wondering if anyone can help me with this error meassage i receive  
when running cap deploy on my project…

- executing `deploy’
- executing `deploy:update’  
\*\* transaction: start
- executing `deploy:update\_code’
- executing “svn checkout -q -r1 svn:// **.** \*.\*\*\*.\***/meechu/trunk  
/var/www/apps/meechu/releases/20080318133013 && (echo 1 \>  
/var/www/apps/meechu/releases/20080318133013/REVISION)"  
servers: ["**.\*\*\*.\*\*\*.\*\*\*”]  
\*\*\* [deploy:update\_code] rolling back
- executing “rm -rf /var/www/apps/meechu/releases/20080318133013;  
true”  
servers: [" **.** \*.\*\*\*.\*\*\*"]  
\*\* [deploy:update\_code] exception while rolling back:  
Capistrano::ConnectionError, connection failed for: **.** \*.\*\*\*.\*\*\*  
(Errno::EACCES: Permission denied - /tmp/ssh-sShjJP6258/agent.6258)

I ran capistrano last night setp, deploy, start and everything worked  
fine. The folder structure was set up and everything ran fine. This  
morning i make some changes to the app and run cap deploy again and got  
this error.

Thankyou in advance  
Jim

---

<div class="post-metadata">

**Author:** ![wolfmanjm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/3da27b/32.png) [@wolfmanjm](https://www.ruby-forum.com/u/wolfmanjm)\
**Post date:** [March 18, 2008, 2:45pm UTC](https://www.ruby-forum.com/t/capistrano-connectionerror/132265/2 "2008-03-18T14:45:20Z")

</div>

Sorry all… i was deploying from the wrong local account. all my ssh  
stuff was set up in another account DOH!
