Class: Moonshot::SSHConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/moonshot/ssh_config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSSHConfig

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_fileObject

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_userObject

Returns the value of attribute ssh_user.



5
6
7
# File 'lib/moonshot/ssh_config.rb', line 5

def ssh_user
  @ssh_user
end