SSH Key Pair Generation for SFTP

Avatar
by Drew
Follow

SSH KEY GENERATION FOR SFTP

SSH key authentication provides a way to securely connect to the PlayerLync SFTP server without a password. This allows system-to-system connectivity with secure access. To facilitate this, PlayerLync requires a public SSH key to be provided. These instructions will walk you through how to create your public / private key-pair.

SSH PUBLIC/PRIVATE KEY GENERATION: WINDOWS 11

Use the following steps to generate a private and public key-pair in Windows 11.

  1. Search for and open PowerShell on Windows (as an Administrator)
  2. Note the location of where you are in the system (most likely the C drive and your user folder)
  3. Enter the following: ssh-keygen -t rsa -b 2048 -f ./playerlync-sftp -C "playerlync sftp" -N ""
  4. Using Windows Explorer, navigate to the location where the command was entered (the location in step 2)
  5. If the files were generated correctly, you will see both of them in the directory, the file “playerlync-sftp” is the private key and should be kept private. Do not send that to anyone. The second file is called “playerlync-sftp.pub”. This file is the public key and should be sent to PlayerLync Support.

Note: You can also use PuTTYgen if PowerShell is not an option on your computer...
https://docs.aws.amazon.com/transfer/latest/userguide/windows-ssh.html

 

SSH PUBLIC/PRIVATE KEY GENERATION: MACOS

Detailed steps here:
https://docs.aws.amazon.com/transfer/latest/userguide/macOS-linux-unix-ssh.html

  1. Open a new Terminal window
  2. Enter the following: ssh-keygen -t rsa -b 2048 -f ./playerlync-sftp -C "playerlync sftp" -N "" 
  3. The files will have saved in your user directory, navigate there now
  4. If the pair of files was generated correctly, you will see two files in the directory, the file “playerlync-sftp” is the private key and should be kept private. Do not send that to anyone. The second file is called “playerlync-sftp.pub”. This file is the public key and should be sent to PlayerLync Support.

 

Note: Please keep your private key in a safe location. If this is ever lost or compromised, follow the steps above to generate a new key-pair for connecting to PlayerLync SFTP.