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.
7 8 9 10 |
# File 'lib/moonshot/ssh_config.rb', line 7 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.
5 6 7 |
# File 'lib/moonshot/ssh_config.rb', line 5 def ssh_identity_file @ssh_identity_file end |
#ssh_user ⇒ Object
Returns the value of attribute ssh_user.
5 6 7 |
# File 'lib/moonshot/ssh_config.rb', line 5 def ssh_user @ssh_user end |