HostGator Web Hosting Help

Generate a GPG/PGP key using SSH

Summary

In addition to being able to use the GnuPG Keys tool to generate a gpg key, you can also use SSH.

Generating a new Gnupg (gpg) key

  • Log into your account via ssh
  • Type the Command: gpg --gen-key
  • It will walk you through a few steps (all are fairly self-explanatory):
    • Select Encryption Type
    • Enter Key Size(1024 is standard)
    • Enter Expiration Date
    • Enter Name
    • Enter Email Address
    • Enter Comment(Description of the Key)
    • Confirm with O
  • That's it! To view your keys that you created, use the command: gpg --list-key
Note: All of these keys are stored in your home directory, under the folder .gnupg

Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

How do I create a Public/Private Key Pair in cPanel for use via SSH?
Knowledgebase Article 617,199 views tags: key private public putty ssh windows

This article will explain how to access Microsoft Outlook online or directly from your Desktop.
Knowledgebase Article 45,867 views tags: access add create login microsoft office setup

How do I Access My Account Control Panel?
Knowledgebase Article 886,940 views tags: access alternate control cpanel panel port secure secured

Related Help Content

Strong passwords: How to create and use them.
Knowledgebase Article 509,244 views tags: create increase measure meter pass password strength strong

Do you support .NET, ASP, Access, COM objects, or Web Bots?
Knowledgebase Article 537,745 views tags: access asp bots microsoft sql

Starting on August 26, 2019, the Registration Data Access Protocol (RDAP) will be a new protocol available that provides WHOIS details for generic top-level domains (gTLDs) (e.g., .com, .net).
Knowledgebase Article 301,419 views tags: access data domains gdpr icann protocol rdap registration

WordPress Error: Unable to create directory /wp-content/uploads/2009/mydir/summer/ Is its parent directory writable by the server?
Knowledgebase Article 239,928 views tags: create unable wordpress

What are Raw Access Logs and how do I view them?
Knowledgebase Article 275,315 views tags: access log logs raw

This article will explain how to create MIME types.
Knowledgebase Article 152,931 views tags: create custom extensions files mime types

How do I grant permissions to cPanel for my MySQL database administrator without giving them the domain password?
Knowledgebase Article 282,277 views tags: access grant mysql password permission

How to use use the FTP Account tool to create additional FTP Accounts. This is useful for granting FTP access to your account without giving anyone your cPanel password.
Video "How-to" Tutorial 1,169,152 views tags: account accounts cpanelutilities ftp login publish upload