Skip to main content

Authentication

If you're using SFTP, you can use username / password or SSH key authentication.

If you're using FTPS (FTP over TLS), you have to use username / password.


Username and Password

The preferred Authentication method is using a username and password which is provided by Chaine. This will use Port 22 for SFTP and 21 for FTPS.

To get a username and password, please contact your Chaine representative.


SSH Key

For SFTP connections, we can also use a SSH private key to authenticate when sending file workloads to the server. To do this, a username must be created for you and either you or Chaine must create a private SSH key. Althought this method is not preferred, we can set this up if username and password is not an option for you.


Creating SSH Keys on macOS, Linux, or UNIX

On the macOS, Linux, or UNIX operating systems, you use the ssh-keygen command to create an SSH public key and SSH private key also known as a key pair.


To create SSH keys on a macOS, Linux, or UNIX operating system

  1. On macOS, Linux, or UNIX operating systems, open a command terminal.

  2. At the prompt, enter the following command:

ssh-keygen -P "" -m PEM -f ***key_name***`

key_name is the SSH key pair file name that you choose.

  1. Two files will be created: private key in key_name and a public key in key_name.pub

  2. Navigate to the key_name.pub file, open it

  3. Copy the text and send it to your Chaine representative

  4. The private key located in file key_name will be what you use to access the server after Chaine creates a user name for you using the public ssh key you provided.

If you want Chaine to create the public private keypair for you, just notify them of your choice


Creating SSH Keys on Microsoft Windows

Windows uses a slightly different SSH key pair format. The public key must be in the PUB format, and the private key must be in the PPK format. On Windows, you can use PuTTYgen to create an SSH key pair in the appropriate formats. You can also use PuTTYgen to convert a private key generated using ssh-keygen to a .ppk file.

If you present WinSCP with a private key file not in .ppk format, that client offers to convert the key into .ppk format for you.

For a tutorial on creating SSH keys using PuTTYgen on Windows, see the SSH.com website