Method: Backup::Storage::RSync#additional_ssh_options

Defined in:
lib/backup/storage/rsync.rb

#additional_ssh_optionsObject

Additional SSH Options

Used to supply a String or Array of options to be passed to the SSH command in :ssh and :ssh_daemon modes.

For example, if you need to supply a specific SSH key for the ssh_user, you would set this to: "-i '/path/to/id_rsa'". Which would produce:

rsync -e "ssh -p 22 -i '/path/to/id_rsa'"

Arguments may be single-quoted, but should not contain any double-quotes.

Used only for :ssh and :ssh_daemon modes.



71
72
73
# File 'lib/backup/storage/rsync.rb', line 71

def additional_ssh_options
  @additional_ssh_options
end