What is an Identity Key in SSH?
Skip to content
Products
Show submenu for Products
Products
PrivX Privileged Access and Secrets Management
Privileged Access Management
Secure Remote Access for OT
SSH Key Manager
Tectia Secure File Transfer
SSH Server
SSH Client
SSH Server for z/OS
Encryption
NQX Quantum-Safe Encryption
FQX File Encryptor
SalaX Secure Collaboration
Secure Mail
Secure Messaging
Solutions
Show submenu for Solutions
Solutions
Zero Trust
Zero Trust
Secrets Management
Secrets Management
Just-in-Time / Ephemeral Access
Just-in-Time / Ephemeral Access
Vendor Remote Access
Vendor Remote Access
Operational Technology
Operational Technology
Audit and Compliance
Audit and Compliance
Quantum Readiness
Quantum Readiness
Identity Security
Identity Security
Secure Collaboration
Secure Collaboration
Cloud Access Management /Hybrid Cloud
Cloud Access Management /Hybrid Cloud
Secure File Transfer
Secure File Transfer
Resources
Show submenu for Resources
Resources
Content Library
Blog
SSH Academy
Press Releases
Case Studies
Report a Vulnerability
Company
Show submenu for Company
Company
About Us
Partners
Investors
Careers
Customer Support
Products
Show submenu for Products
Products
PrivX Privileged Access and Secrets Management
Privileged Access Management
Secure Remote Access for OT
SSH Key Manager
Tectia Secure File Transfer
SSH Server
SSH Client
SSH Server for z/OS
Encryption
NQX Quantum-Safe Encryption
FQX File Encryptor
SalaX Secure Collaboration
Secure Mail
Secure Messaging
Solutions
Show submenu for Solutions
Solutions
Zero Trust
Zero Trust
Secrets Management
Secrets Management
Just-in-Time / Ephemeral Access
Just-in-Time / Ephemeral Access
Vendor Remote Access
Vendor Remote Access
Operational Technology
Operational Technology
Audit and Compliance
Audit and Compliance
Quantum Readiness
Quantum Readiness
Identity Security
Identity Security
Secure Collaboration
Secure Collaboration
Cloud Access Management /Hybrid Cloud
Cloud Access Management /Hybrid Cloud
Secure File Transfer
Secure File Transfer
Resources
Show submenu for Resources
Resources
Content Library
Blog
SSH Academy
Press Releases
Case Studies
Report a Vulnerability
Company
Show submenu for Company
Company
About Us
Partners
Investors
Careers
Customer Support
Get in touch
Identity Key in SSH
An identity key is a private key that is used in SSH for granting access to servers. They are a kind of SSH key, used for public key authentication.
In OpenSSH, new identity keys can be created using the ssh-keygen tool. The tool generates both a private key and a public key. The public key can then be installed as an authorized key on a server using the ssh-copy-id. Generally each SSH implementation comes with its own tools for generating and installing keys.
While technically similar keys to host keys, identity keys are used for authenticating users, whereas host keys are used for authenticating computers.
Contents
Where Are Identity Keys Located Configuring the Location of Identity Keys
Where Are Identity Keys Located
The default location for identity keys on Unix/Linux systems is the .ssh directory in each user's home directory. Identity key names typically start with id_, but this does not need to be the case.
Configuring the Location of Identity Keys
With OpenSSH, the location of identity keys is configured using the IdentityFile configuration option in the OpenSSH client configuration files, usually /etc/ssh/ssh_config or .ssh/config in the user's home directory. However, the location of the per-user configuration file may vary depending on server-wide configuration.
Some organizations also use SSH versions with custom compiled-in locations for SSH keys. It is best to use proper SSH key management tools, such as the Universal SSH Key Manager to manage the keys and configure the locations. Each product uses its own configuration mechanism.
Solutions
Zero Trust
Secrets Management
Just-in-Time/ Ephemeral Access
Vendor Remote Access
Operational Technology
Audit and Compliance
Quantum Readiness
Identity Security
Cloud Access Management/Hybrid Cloud
Secure Collaboration
Secure File Transfer
Industries
Healthcare
Government
MSPs
Products
PrivX Privileged Access and Secrets Management
Privileged Access Management (PAM)
Secure Remote Access for OT
SSH Key Management
Encryption
NQX Quantum-Safe Encryption
FQX File Encryption
Tectia Secure File Transfer
SSH Server
SSH Client
SSH Server for z/OS
SalaX Secure Collaboration
Secure Mail
Secure Messaging
Company
About Us
Partners
Investors
Careers
Resources
Talk to a security expert
Support
Product documentation
Contact Us
Privacy Policy | Terms and Conditions
2026 © Copyright SSH