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

Solution Verified - Updated -


  • 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?


  • Red Hat Enterprise Linux 6 - All Releases
  • SELinux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content