Module: Bcome::Ssh::DriverCommandStrings
- Included in:
- Driver
- Defined in:
- lib/objects/ssh/driver_concerns/command_strings.rb
Instance Method Summary collapse
- #local_port_forward_command(start_port, end_port) ⇒ Object
- #rsync_command(local_path, remote_path) ⇒ Object
- #ssh_command(as_pseudo_tty = false) ⇒ Object
Instance Method Details
#local_port_forward_command(start_port, end_port) ⇒ Object
13 14 15 |
# File 'lib/objects/ssh/driver_concerns/command_strings.rb', line 13 def local_port_forward_command(start_port, end_port) connection_wrangler.get_local_port_forward_command(start_port, end_port) end |
#rsync_command(local_path, remote_path) ⇒ Object
9 10 11 |
# File 'lib/objects/ssh/driver_concerns/command_strings.rb', line 9 def rsync_command(local_path, remote_path) connection_wrangler.get_rsync_command(local_path, remote_path) end |
#ssh_command(as_pseudo_tty = false) ⇒ Object
5 6 7 |
# File 'lib/objects/ssh/driver_concerns/command_strings.rb', line 5 def ssh_command(as_pseudo_tty = false) connection_wrangler.get_ssh_command(as_pseudo_tty: as_pseudo_tty) end |