Click here for "Error Codes for Commercial Air Conditioners".(Japanese Version)

Fedora36 ; Remote connection with SSH public key cryptography

SSH public key cipher setting

Create an SSH private key on Windows and an SSH public key on the server to allow login by key pair authentication.

1.Create key pair with ECDSA

Become an ordinary user and create a key pair in ECDSA

2.Private Key Login Settings

Restart SSH

Copy the private key to the client PC (using WinSCP) Set up WinSCP
①Start WinSCP, configure the following settings in "New Site" and click "Save"
Host name : Server IP Address
Port number :  SSH port number
User name : General username
Password :  General username Password

Any connection name ↓

You will be returned to the following screen.「Login」 ↓

If the following screen appears, say "Yes."    ↓

In the following screen, enter the user's password in the "Pasword" field.

Copy id_ecdsa in "/home/<user name>/.ssh" directory to any location on the windows side.(Select id_ecdsa, drag & copy to the left)

3.Change to log in only with private key

Restart SSH

4.Creating a private key using PuTTYgen

Start Winscp, select the appropriate server, and launch Run PuTTYgen from Tools.

Click Load [ Open File Dialog ], change the file type to [ All Files (*. Change the file type to [ All Files (*. *) ] and load the private key id_ecdsa transferred from the Linux server.

Enter the passphrase you entered when you created the private key on the server side

Click the [ OK ] button when the following appears


Click the [ Save private key ] button to save the private key.

Here we save it as id_ecdsa.ppk (in Windows).

Connect to SSH server with private key
Start Winscp, specify the target server, open "Edit", "Advanced", and "Authentication".
Specify id_ecdsa.ppk saved in windows in the "Private key file" field.

Enter the passphrase you entered when you created the private key on the server side

When connecting with Tera Term, use the following
Use RSA/DSA/ECDSA/..." Specify "id_ecdsa.ppk" saved in windows in the "Use RSA/DSA/ECDSA/..." field.

This completes the security configuration for the SSH service.

Copied title and URL