New
Create a Deploy Key on a Server
Generates a key on the server itself, without a passphrase, for pulling from Git in an automated deploy.
This is the one legitimate reason to generate a key on a server, and it comes with conditions: no passphrase (nothing can type one), the key belongs to the deploy user rather than root, and on GitHub it is added as a repository deploy key with read-only access, not to your account. Anyone who takes the server takes this key, so its reach should be one repository.
When you need this: Only when a script on the server needs to authenticate somewhere by itself. Never as a substitute for your personal key.
Variables
Command
2 views
0 copies
Related in this category
Log in to save
Free account. Save snippets into your own collections.