# File lib/rhc/ssh_helpers.rb, line 133 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