[RHEL] Is it possible to create a ssh key in a different user home directory without receive a 'Permission Denied' error?

Solution Verified - Updated -

Issue

  • When I try to create a ssh key using the 'ssh-keygen' command in a different home directory I receive a 'Permission Denied' error
  • Why am I receiving the error 'Saving the key failed' when I try to generate a ssk key?

Environment

  • Red Hat Enterprise Linux 6 - All Releases
  • SELinux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In