FAQ
コンテンツ
- HOME
- FAQ
- Websites, Web Hosting, Housing
- Virtual Machine Hosting Service
Websites, Web Hosting, Housing FAQ
Virtual Machine Hosting Service
Last updated on 2023-07-21
Introduction - About Public Key Authentication
"Public key authentication" is an authentication method that uses two types of key pairs: a "public key" and a "private key".
The advantage of logging in only with public key authentication is that it only allows connections from PCs that have the private key, and that PCs that do not have the key cannot log in, so security is improved.
As a preparation:
- Create your own key pair
- Register the created public key on the server
- Keep your private key on your computer
How to create key pair: Windows
- Start up powershell
- Create a key pair for public key authentication
- Show public key
ssh-keygen -t ed25519
# Uses Ed25519, a stronger and better performing encryption algorithm than RSA
# It is recommended to enter passphrase for improved security
# Two files are created in the $HOME\.ssh directory by default
File Name | Use for |
---|---|
id_ed25519 | private key |
id_ed25519.pub | public key |
cat $HOME\.ssh/id_ed25519.pub
# Change the file name accordingly
# Copy and paste the information displayed here to the application screen of the ARCS hosting portal
How to create Kye Pair: Mac
cd .ssh
ssh-keygen -t ed25519
cat id_ed25519.pub
# Copy and paste the information displayed here to the application screen of the ARCS hosting portal