156. SFTP - Generating Public & Private Key
📘Generating Public and Private Keys with Passphrase
1- Download PuTTYgen Key Generator: https://www.puttygen.com/
2 - Install PuTTYgen and then open to generate a V2 - Public Key and Private Key (with Passphrase)
3 - Select the Following options
![](../__attachments/146211174/image-20230222-000552.png?inst-v=07fa0a6f-b123-4c6b-81ef-d6cec6796582)
![](../__attachments/146211174/image-20230308-005947.png?inst-v=07fa0a6f-b123-4c6b-81ef-d6cec6796582)
'Parameters for saving key files'
4 - Select ‘GENERATE’ when ready to create keys
5 - Add Key Passphrase after key generated
6 - Save Public Key - This is to be used in the SFTP Server
7 - Save Private Key - This is to be used in the client connection (EzeScan)