Using the SSH Keypair Generator, you can create the key for SFTP connection. To do so, select Tools/SSH Keypair Generator and enter the following:
Key type: Here you select the authentication log. You can choose between RSA and DSA.
Key bitcount: Enter here the desired bit count.
Passphrase: Here you enter a passphrase.
User name: Enter the user name.
Private key filename: Here you determine the file for the private key.
Public key filename: Here you determine the file for the public key.
NOTE: The advantage of using these key-based authentication systems is that in many cases, it is possible to establish secure connections without having to manually type in a password.