Generate SSH key pair from the command line
Using an SSH key pair is my perfered method of authenticating with a server, such as web hosting.
From the command line:
ssh-keygen -t rsa -b 4096 -C "my config description"
-t rsa
: Specifies the type of key to create (RSA)-b 4096
: Specifies the number of bits in the key-C
An optional comment to describe the key
2 files will be generated, a private key and a public key (.pub extension). The public key is used on the hosting site. The private key is never shared.
Files can be edited with a text editor.
Old links
- Generate SSH key pair from the command line
- Some very basic thoughts on Artificial General Intelligence
- Invaders 2095 - JavaScript game in development
- Turning coarse dirt into luscious green grass in Minecraft
- Intelligent dinosaurs?
- Thoughts on writing a DOOM movie script
- Why do we always see the same side of the moon?
- Are humans descended from apes?
- Directory traversal
- http referer not capturing the query string from search engines
- Reverse IP lookup
- JavaScript Promises
- Vintage Weight Watchers Update Log
- My illustrated children's books
- Filling my skills gap
- St. Wystan's church, Repton Derbyshire
- Updates to the Vintage Points Calculator
- Massively improving database INSERTs
- Vintage Points Calculator
- What is the difference between bcrypt and Argon2 in PHP's password_hash?
- Defender 2095 - JavaScript game in development