Configure SFTP Private Key

Generate the SFTP private key.

Ensure the following permissions exist for the given directories:
  • .ssh: 700
  • .ssh/authorized_keys: 640
  • .ssh/id_rsa: 400
  • UNIX user: 755
To generate a private key:
  1. Log in to OFSAA UNIX user using the Putty tool.
  2. Enter the following commands:
    ssh-keygen -t rsa
    Generating public/private rsa key pair.
    Enter file in which to save the key (/home/ofsaapp/.ssh/id_rsa):
    Created directory '/home/ofsaapp/.ssh'.
    Enter passphrase (empty for no passphrase):
    Enter same passphrase again:
    Your identification has been saved in /home/ofsaapp/.ssh/id_rsa.
    Your public key has been saved in /home/ofsaapp/.ssh/id_rsa.pub.
    The key fingerprint is:
    3e:4f:05:79:3a:9f:96:7c:3b:ad:e9:58:37:bc:37:e4
    ofsaapp@OFSASERVER:~> cat /home/ofsaapp/.ssh/id_rsa.pub >>
    /home/ofsaapp/.ssh/authorized_keys
    
    Set the passphrase, if required. Otherwise, set the OFSAAI_SFTP_PASSPHRASE tag to NA.