Re: [capistrano-mailing-list] Trying to write a task to distribute files from a remote server to a group of other remote servers

2015-06-02 Thread Steve Wechsler
Thanks for the response. Can SSHkit be installed (I'm not the sysadmin) without breaking the existing Cap v2 installation? We have a lot of stuff depending on the latter. Steve On Monday, June 1, 2015 at 5:16:48 PM UTC-4, Lee Hambley wrote: I'd drop Capistrano and use SSHKit, the underlying

Re: [capistrano-mailing-list] Trying to write a task to distribute files from a remote server to a group of other remote servers

2015-06-02 Thread Lee Hambley
SSHKit belongs on the client machines driving the SSH connection, not on the servers to which you connect. If you're running SSHKit *on* a server, along side Capistrano (also not typically installed on servers) then it'll be fine. Various versions of Capistrano 3 have various requirements on

Re: [capistrano-mailing-list] Trying to write a task to distribute files from a remote server to a group of other remote servers

2015-06-01 Thread Lee Hambley
I'd drop Capistrano and use SSHKit, the underlying driver in Capistrano v3 (your example is v2) - see https://github.com/capistrano/sshkit/blob/master/EXAMPLES.md#upload-a-file-from-disk and https://github.com/capistrano/sshkit/blob/master/EXAMPLES.md#using-with-rake Combine those two to recreate