Class: Chake::Backend::Ssh
- Inherits:
-
Backend
- Object
- Backend
- Chake::Backend::Ssh
- Defined in:
- lib/chake/backend/ssh.rb
Instance Method Summary collapse
Instance Method Details
#command_runner ⇒ Object
23 24 25 |
# File 'lib/chake/backend/ssh.rb', line 23 def command_runner ['ssh', ssh_config, ssh_target].flatten.compact end |
#rsync ⇒ Object
15 16 17 |
# File 'lib/chake/backend/ssh.rb', line 15 def rsync ['rsync', rsync_ssh].flatten.compact end |
#rsync_dest ⇒ Object
19 20 21 |
# File 'lib/chake/backend/ssh.rb', line 19 def rsync_dest [ssh_target, node.path + '/'].join(':') end |
#scp ⇒ Object
7 8 9 |
# File 'lib/chake/backend/ssh.rb', line 7 def scp ['scp', ssh_config].flatten.compact end |
#scp_dest ⇒ Object
11 12 13 |
# File 'lib/chake/backend/ssh.rb', line 11 def scp_dest ssh_target + ':' end |