DannyBen/jossh

View on GitHub
lib/jossh/templates/ssh_hosts.yml

Summary

Maintainability
Test Coverage
# SSH Hosts File for Jossh
#
# Supports any of the attributes available in Net::SSH#start
# http://net-ssh.github.io/net-ssh/classes/Net/SSH.html#method-c-start
#
# :host: and :user: are required, everything else is optional
#

:localhost:
  :host: 'localhost'
  :user: 'me'

:production:
  :host: 'production.server.com'
  :user: 'josh'
  :port: 22
  :timeout: 60
  :passphrase: 'when using private key to prevent prompt'
  :password: 'when using user/password'
  :forward_agent: true
  :use_agent: true