Closed mattbrictson closed 11 months ago
@JasonPoll this PR is still a work in progress, but it should be ready for you to test. Let me know if this branch works with SFTP in your environment. Also would appreciate any suggestions/feedback on the implementation. Thanks!
Thanks @JasonPoll and @will-in-wi for the reviews! I plan on releasing this as part of sshkit 1.22.0 in mid-January, after 1.21.7 has some time in the wild. In the meantime, you can take advantage of the new sftp functionality by pointing your Gemfile at the master branch:
gem "sshkit", github: "capistrano/sshkit", branch: "master"
SSHKit can now use SFTP for file transfers. The default is still SCP, but this can be changed to SFTP per host:
or globally:
Fixes #15