# File lib/rhc/ssh_key_helpers.rb, line 105 def ssh_key_triple_for(key) begin file = File.open key rescue Errno::ENOENT => e raise ::RHC::KeyFileNotExistentException.new("File '#{key}' does not exist.") rescue Errno::EACCES => e raise ::RHC::KeyFileAccessDeniedException.new("Access denied to '#{key}'.") end file.gets.chomp.split end