lib/ey-deploy/server.rb in ey-deploy-0.8.1 vs lib/ey-deploy/server.rb in ey-deploy-0.8.2

- old
+ new

@@ -62,10 +62,10 @@ logged_system(ssh_command + " " + Escape.shell_command(["#{config.user}@#{hostname}", command])) end end def ssh_command - "ssh -i /home/#{config.user}/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no" + "ssh -i #{ENV['HOME']}/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no" end end end