Skip to content

Commit

Permalink
Fix the usege of MOONSHOT_SSH_USER and MOONSHOT_SSH_KEY_FILE environm…
Browse files Browse the repository at this point in the history
…ent variables (#167)
  • Loading branch information
askreet committed Nov 14, 2016
2 parents 0b48eab + 906a987 commit 1ec2dfc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/moonshot/ssh_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,10 @@ module Moonshot
class SSHConfig
attr_accessor :ssh_identity_file
attr_accessor :ssh_user

def initialize
@ssh_identity_file = ENV['MOONSHOT_SSH_KEY_FILE']
@ssh_user = ENV['MOONSHOT_SSH_USER']
end
end
end

0 comments on commit 1ec2dfc

Please sign in to comment.