@Vivek Komarla Bhaskar Thanks for reaching out. The question is more towards the ssh keygen rather than logic app. You can ask the expert in stackoverflow .
Not and expert but you can try the below and in case if didn't work you can reach out to the ssh experts in stackoverflow.
To generate a public key, you can use the ssh-keygen command on your local machine. Here are the steps to generate a public key:
- Open a terminal or command prompt on your local machine.
- Run the following command:
ssh-keygen -t rsa -b 4096 - When prompted, enter a file name to save the key pair. The default is
id_rsa. - When prompted, enter a passphrase for the key pair. This is optional but recommended for security.
- The public key will be saved in a file with the same name as the private key, but with a
.pubextension. For example, if the private key isid_rsa, the public key will beid_rsa.pub.
Once you have generated the public key, you can provide it to your SFTP client to connect to the AWS S3 bucket.
Please "Accept Answer" if the answer is helpful so that it can help others in the community.