Question
How do I generate a private and public key for SSH connection?
Answer
Here are two examples to generate the keys.
1. Use the key generation tool "PuTTYgen"
For the details on how to use it, see the following help for DataSpider Servista.
- Generation of SSH private and public keys
https://www.hulft.com/help/en-us/DataSpider/dss44sp2/help/en/servista/ssh_keygen.html
2. Issue the ssh-keygen command from a shell
For the details on how to do this , see the following external documents.
- Key-based authentication in OpenSSH for Windows
https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_keymanagement
- How To Generate SSH Key With ssh-keygen In Linux?
https://www.geeksforgeeks.org/how-to-generate-ssh-key-with-ssh-keygen-in-linux/
Supplementary information
Last update: October 26, 2023
HULFT Square does not support OpenSSH format private keys.
Please convert an OpenSSH format private key to a PEM format private key, or generate a new PEM format private key.
The header of a PEM format private key is "-----BEGIN RSA PRIVATE KEY-----".
For the details on how to generate a PEM format private key, see the following external document.
- Generate SSH Keys in PEM Format to Connect to a Public or On-Premises sFTP Server
https://docs.oracle.com/en/cloud/paas/integration-cloud/ftp-adapter/generate-keys-pem-format.html
Comments
0 comments
Article is closed for comments.