1. Generate your SSH public key
1. Generate your SSH public key
1.1 Open your terminal
1.1 Open your terminal
- macOS: Open the Terminal app
- Linux: Use your default terminal
- Windows: Use PowerShell or Terminal
1.2 Check for existing SSH keys
1.2 Check for existing SSH keys
- id_rsa / id_rsa.pub
- id_ed25519 / id_ed25519.pub
1.3 Generate a new SSH key pair
1.3 Generate a new SSH key pair
1.4 Choose the file location
1.4 Choose the file location
- Press Enter to accept the default - we recommend this option
- Or enter a custom path if needed
⚠️ If the file exists, you’ll be asked to overwrite - only do this if you’re sure you want to do that!
1.5 Set a Passphrase
1.5 Set a Passphrase
- Type a secure passphrase (you won’t see characters as you type)
- Press Enter, then confirm
🔐 A passphrase protects your private key, you will need it to authenticateAt this point, you should have both your public and private keys created. Typically, your private key is the file without the extension (id_ed25519), while your public key has .pub as the file extension (id_ed25519.pub)
1.6 View your public key
1.6 View your public key
2. Send the public key our way
2. Send the public key our way
3. Test your SFTP Connection
3. Test your SFTP Connection
Using open-source FTP client
Using open-source FTP client
1. Download and install FileZilla
1. Download and install FileZilla
- Go to the official FileZilla website
- Click on Download FileZilla Client (not Server)
- Choose the version for your operating system (Windows/macOS/Linux)
- Download the standard version (you don’t need Pro unless you require cloud access features)
- Run the installer:
- on Windows, run the .exe file.
- on macOS, open the .dmg and drag FileZilla into the Applications folder
- on Linux, use your package manager or download the .tar.bz2 archive.
2. Convert SSH private key to PPK (if using Windows)
2. Convert SSH private key to PPK (if using Windows)
- Download PuTTYgen
- Open PuTTYgen.
- Click Load, and in the file browser, select:
- File type: All Files
- Navigate to C:\Users\yourname.ssh\id_ed25519 (or wherever your private key is)
- Click Save private key to export it as a .ppk file.
3. Configure SFTP connection in FileZilla
3. Configure SFTP connection in FileZilla
- Open FileZilla
- Go to File → Site Manager
- Click New Site and give it a name (e.g., RavenPack SFTP)
- Set the following fields:
- Protocol: SFTP - SSH File Transfer Protocol
- Host: use the hostname we provided to you (most likely sftp.prod.nvirginia.common.ravenpack.com)
- Port: leave empty or use 22 (default SFTP port)
- Logon Type: key file
- User: Your username (provided by RavenPack - use either real-time or historical data username, both should work equally)
- Key file: — On Windows: browse and select the .ppk file — On macOS/Linux: browse and select your private key (e.g., ~/.ssh/id_ed25519)
- Click Connect
4. Verify the connection
4. Verify the connection
Using command line interface
Using command line interface
1. Test the connection
1. Test the connection
- Open Terminal
- Run the following command:
- replace your_username with the username provided to you (use either real-time or historical data username, both should work equally)
- replace your.sftp.host with the actual SFTP server address (most likely sftp.prod.nvirginia.common.ravenpack.com)
2. Add an SSH config entry
2. Add an SSH config entry
3. Use the FTP
3. Use the FTP
Using python script
Using python script
1. Install paramiko library
1. Install paramiko library
2. Save the script file
2. Save the script file
3. Edit the configuration
3. Edit the configuration
- HOST (most likely sftp.prod.nvirginia.common.ravenpack.com)
- USERNAME (use the username we provided to you - use either real-time or historical data username, both should work equally)
- PRIVATE_KEY_PATH (most likely you will just keep the default one)
4. Run the script
4. Run the script