SSH Key-Pair Authentication on Windows Client
[1]. Run [Puttygen.exe] that is included in [Putty]. (placed in the folder [Putty.exe] is also placed)
If not included, Download it from official site (www.chiark.greenend.org.uk/~sgtatham/putty/).
After starting [Puttygen.exe], Click [Load] button on the following window.
[2]. Specify the private key that you transfered from SSH server, then passphrase is required like follows, answer it. (if not set passphrase, this step is skipped)
[3]. Click [Save private key] button to save it under a folder you like with any file name you like.
[4]. Start Putty and Open [Connection] - [SSH] - [Auth] on the left pane, then specify your private key on the [Private key file] field.
[5]. Back to the [Session] on the left pane and specify your SSH server host to Connect.
[6]. When SSH key-pair is set, the passphrase if it is set is required to login like follows, then answer it.
[7]. If you are using Windows 10 Version 1803 .OpenSSH Client has been implemented as a Windows feature, so it's possbile to authenticate with SSH Key-Pair without Putty and other 3rd party softwares.
Transfer your private key to your Windows 10 and put it under the [(logon user home)\.ssh] folder like follows, then it's ready to use Key-Pair authentication.
Comments
Post a Comment