Module: SSH
- Included in:
- ServerTools::InstallDebPackage, ServerTools::Provision
- Defined in:
- lib/server_tools/support/ssh.rb
Instance Method Summary collapse
Instance Method Details
#ssh_opts(options) ⇒ Object
2 3 4 5 6 7 8 9 10 |
# File 'lib/server_tools/support/ssh.rb', line 2 def ssh_opts() [ "-p #{[:ssh_port]}", "-i #{[:identity_file]}", "-l #{[:ssh_user]}", "-o StrictHostKeyChecking=no", "-o UserKnownHostsFile=/dev/null" ].join(' ') end |