SSH public key setting : client PuTTY on Windows 10 PC; server Raspberry Pi 4
Just after I set up the OS of my Raspberry Pi 4, I tried to connect to it via SSH from my PC.
I generated and installed keys via scp with the PuTTY suite. PuTTYgen and pscp.
Recently OpenSSH on Windows 10 has already been available, so why didn't I use this? One reason, unfortunately, is language mismatch.
First I just tried the ssh command on the PowerShell of my Windows 10 PC just as I would do on a Linux host with OpenSSH. Voila! Looks like a ssh client has already been ready for work. I accepted the host key and connected. Some output didn't display properly. I looked up for problem and it's because of Japanese encoding mismatch from the initial setting of my Windows 10 PC.
Fortunately, with PuTTY, everything, including Japanese displayed properly, so I decided to set up for PuTTY first.
I learned that the format of key pairs varies from SSH server and client, for example the default name of RSA secret key for OpenSSH is "id_rsa" and one for PuTTY is "id_rsa.ppk", and conversion process may be needed with some combinations of SSH server and client.
Comments
Post a Comment