How to Setup SFTP Key

Created by Saahir Kapasi, Modified on Wed, 6 Dec, 2023 at 4:15 PM by Saahir Kapasi

If anyone needs a quick guide on generating SSH keys for SFTP file imports

Documentation: https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent 

  1. Run in git bash
  2. ssh-keygen -t rsa -m PEM
  3. passphrase is not required
  4. You should have the keys stored by default in C:\Users\Your user\.ssh
  5. Rename files (Optional)
  6. send them the public key (file ending in .pub)
  7. Ask bank for
    1. URL to connect to
    2. Username
    3. hostkey
    4. hostkey type should be rsa
    5. port num
  8. To get host key
  9. $ ssh-keyscan -t rsa -p [PORTNUM] [URL]

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article