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.



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_fileObject

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_userObject

Returns the value of attribute ssh_user.



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

def ssh_user
  @ssh_user
end