# File lib/openshift-origin-node/model/unix_user.rb, line 699 def write_ssh_keys(authorized_keys_file, keys) File.open(authorized_keys_file, File::WRONLY|File::TRUNC|File::CREAT, 0o0440) do |file| file.write(keys.values.join("\n")) file.write("\n") end FileUtils.chown_R('root', @uuid, authorized_keys_file) set_selinux_context(authorized_keys_file) keys end