I don't have control of the server I'm deploying to, and for some
reason SFTP doesn't seem to work.  When I try sftp from the command
line, I see this:

$ sftp x...@xxxx
Connecting to xxxx...
x...@xxxx's password:
subsystem request failed on channel 0
Connection closed

I found this out when I tried deploying via copy.  Capistrano couldn't
give me much info on the issue:

 ** sftp upload /var/folders/Rp/RpWb75NXEAS3X6QWf281G++++TM/-Tmp-/
20090428171420.tar.gz -> /tmp/20090428171420.tar.gz
/Library/Ruby/Gems/1.8/gems/capistrano-2.5.5/lib/capistrano/
transfer.rb:156:in `[]=': undefined method `[]=' for nil:NilClass
(NoMethodError)
        from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.5/lib/capistrano/
transfer.rb:207:in `handle_error'
        from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.5/lib/capistrano/
transfer.rb:48:in `process!'
        from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.5/lib/capistrano/
transfer.rb:43:in `loop'
        from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.5/lib/capistrano/
transfer.rb:43:in `process!'
        from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.5/lib/capistrano/
transfer.rb:11:in `process'
        from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.5/lib/capistrano/
configuration/actions/file_transfer.rb:40:in `transfer'
        from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.5/lib/capistrano/
configuration/connections.rb:170:in `execute_on_servers'
        from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`each_slice'
         ... 19 levels...
        from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.5/lib/capistrano/cli/
execute.rb:14:in `execute'
        from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.5/bin/cap:4
        from /usr/bin/cap:19:in `load'
        from /usr/bin/cap:19

I would like to use SCP instead of SFTP, because I have been able to
verify that this works.  Is there a way to configure Capistrano to do
this?
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to