Class: Moonshot::SSHConfig
- Inherits:
-
Object
- Object
- Moonshot::SSHConfig
- Defined in:
- lib/moonshot/ssh_config.rb
Instance Attribute Summary collapse
-
#ssh_identity_file ⇒ Object
Returns the value of attribute ssh_identity_file.
-
#ssh_user ⇒ Object
Returns the value of attribute ssh_user.
Instance Method Summary collapse
-
#initialize ⇒ SSHConfig
constructor
A new instance of SSHConfig.
Constructor Details
#initialize ⇒ SSHConfig
Returns a new instance of SSHConfig.
6 7 8 9 |
# File 'lib/moonshot/ssh_config.rb', line 6 def initialize @ssh_identity_file = ENV['MOONSHOT_SSH_KEY_FILE'] @ssh_user = ENV['MOONSHOT_SSH_USER'] end |
Instance Attribute Details
#ssh_identity_file ⇒ Object
Returns the value of attribute ssh_identity_file.
3 4 5 |
# File 'lib/moonshot/ssh_config.rb', line 3 def ssh_identity_file @ssh_identity_file end |
#ssh_user ⇒ Object
Returns the value of attribute ssh_user.
4 5 6 |
# File 'lib/moonshot/ssh_config.rb', line 4 def ssh_user @ssh_user end |