Jitterbit can use one private/public key for SSH authentication when using sftp. There is a server global configuration option
in the server configuration file (jitterbit.conf). The option is in the [SSH] section and here is an example (for Windows)
[SSH]
# Absolute paths to your public/private SSH keyfiles and optional passphrase for the private key.
# Make sure these files can be read by jitterbit but no-one else!
PublicKeyFile='C:/Program Files/Jitterbit Integration Server/id_rsa.pub'
PrivateKeyFile='C:/Program Files/Jitterbit Integration Server/id_rsa'
PrivateKeyPassphrase='My Secret Passphrase'
If your private key does not have a pass-phrase you can leave that option empty or comment it out.
IMPORTANT: After changing jitterbit.conf you need to restart the Jitterbit Apache service for the changes to take affect.
The keys need to be in the OpenSSH format. This is the standard format created by the ssh-keygen command.
On Windows you can use the PuTTYgen utility to generate a private/public key
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
This is how you generate the keys:
- Download, install and launch the puTTYgen utility.
- Select the type of key to generate and the number of bits in the key. For maximum security pick SSH2-RSA with 2048 bits.
- Move your mouse around to generate randomness.
- Edit the Key comment if you want something different from the default.
- Specify a passphrase for your private key if you want to. This is the passphrase that you put in the PrivateKeyPassphrase option in jitterbit.conf.
- Click "Save private key" and keep this file in a safe place. This file will be in PuTTYgen format and can not be used by Jitterbit directly but you can use it to load the file back into puTTYgen.
- Copy and paste the "Public key for pasting into OpenSSH authorized_keys file" into the file specified in PublicKeyFile in jitterbit.conf. This is the same string that goes into the ~/.ssh/authorized_keys file on the sftp server.
- Select the menu option Conversions -> Export OpenSSH key and save it to the file specified under PrivateKeyFile in jitterbit.conf.
If you already have a private/public key pair in a ppk file (puTTY format) then you can load it into puTTYgen and follow the above instructions starting at point 7.

