# Capistrano Deploy: svn: Error in child process: exec of 'ssh

**URL:** <https://www.ruby-forum.com/t/capistrano-deploy-svn-error-in-child-process-exec-of-ssh/88221>\
**Category:** Deployment\
**Created:** [March 9, 2007, 12:03am UTC](https://www.ruby-forum.com/t/capistrano-deploy-svn-error-in-child-process-exec-of-ssh/88221 "2007-03-09T00:03:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vixiom](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/a698b9/32.png) [@vixiom](https://www.ruby-forum.com/u/vixiom)\
**Post date:** [March 9, 2007, 12:03am UTC](https://www.ruby-forum.com/t/capistrano-deploy-svn-error-in-child-process-exec-of-ssh/88221/1 "2007-03-09T00:03:28Z")

</div>

I have rails/svn/capistrano setup and when I ‘cap setup’ it runs fine  
but ‘cap deploy’ gives this error

### 

cap deploy

- executing task 
- executing task update  
\*\* transaction: start
- executing task update\_code
- querying latest revision…  
@'s password:
- executing “if [[ ! -d /var/www/apps//releases/  
20070308213327 ]]; then\n svn co --no-auth-cache –  
username -q -r4 svn+ssh://@/var/www/svn/repo/  
trunk /var/www/apps//releases/20070308213327 &&  
\n (test -e /var/www/apps//revisions.log ||  
(touch /var/www/apps//revisions.log && chmod 666 /var/www/  
apps//revisions.log)) && echo `date +\"%Y-%m-%d %H:%M:%S\"`  
$USER 4 20070308213327 \>\> /var/www/apps//revisions.log;  
\n fi”  
servers: [""]  
[] executing command  
\*\* [out ::] svn: Error in child process: exec of ‘ssh’  
failed: No such file or directory  
command finished  
\*\*\* [update\_code] transaction: rollback
- [update\_code] rolling back
- executing “rm -rf /var/www/apps//releases/20070308213327”  
servers: [""]  
[] executing command  
command finished  
command “if [[ ! -d /var/www/apps//releases/  
20070308213327 ]]; then\\n svn co --no-auth-cache –  
username -q -r4 svn+ssh://@/var/www/svn/repo/  
trunk /var/www/apps//releases/20070308213327 &&\  
\n (test -e /var/www/apps//revisions.log ||  
(touch /var/www/apps//revisions.log && chmod 666 /var/www/  
apps//revisions.log)) && echo `date +\"%Y-%m-%d %H:%M:%S\"`  
$USER 4 20070308213327 \>\> /var/www/apps//revisions.log;\  
\n fi” failed on 

### 

I have no problem commiting/checking out of the repository but above  
it’s complaining about ‘svn: Error in child process: exec of ‘ssh’  
failed: No such file or directory’

I’m on Fedora 6.

thanks!

---

<div class="post-metadata">

**Author:** ![vixiom](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/a698b9/32.png) [@vixiom](https://www.ruby-forum.com/u/vixiom)\
**Post date:** [March 14, 2007, 8:09am UTC](https://www.ruby-forum.com/t/capistrano-deploy-svn-error-in-child-process-exec-of-ssh/88221/2 "2007-03-14T08:09:43Z")

</div>

Hi, can you post your deploy.rb? Also, what version of rails are you  
using?

Thanks,

-Conrad
