Creating RSA Key Pair¶
You can create a RSA Key Pair and use it to connect to Hire2Retire's SFTP server. You will have to provide the public key on Hire2Retire connection page. The Client trying to connect should have the private key of the key Pair.
Create SSH key pair on MacOS or Linux¶
- Step 1: Open your terminal and enter the below command:
$ ssh-keygen -t rsa -m PEM
- Step 2: You can provide key name like Hire2Retire with your preferred location. And no passphrase is required. In the example below, the public key will be in
/home/<username>/.ssh/hire2retire.pub
and your private key will be in/home/<username>/.ssh/hire2retire
.
Note - In your file path,<username>
will be replaced with your username.
Output:
Generating public/private rsa key pair.
Enter file in which to save the key (/home/<username>/.ssh/id_rsa): /home/<username>/.ssh/hire2retire
- Step 3: Now the key pair is ready, and you can provide the public key in Other Connection Set Up form.
Create SSH key pair on Windows 10 (OpenSSH)¶
- Step 1: Open the window command prompt and enter the below command.
$ ssh-keygen -t rsa -m PEM
- Step 2: You can provide key name like Hire2Retire with your preferred location. And no password is required. In the example below, the public key will be located in
`C:\Users\<username>/.ssh/hire2retire.pub
and your private key will be located inC:\Users\<username>/.ssh/hire2retire
.
Note - In your filepath,<username>
will be replaced with your username.
Output:
Generating public/private rsa key pair.
Enter file in which to save the key (C:\Users\<username>/.ssh/id_rsa): C:\Users\<username>/.ssh/hire2retire
- Step 3: Now the key pair is ready and you can provide the public key in Other Connection Set Up form.
Connect to the Hire2Retire SFTP server to drop the HR Data¶
You will find the details to connect to the Hire2Retire SFTP server on the Other Connection setup page.
-
Hostname - The host name provided is the IP address of Hire2Retire SFTP Server.
-
Port - The TCP/IP port on which the Hire2Retire SFTP server is listening.
-
Username - SFTP username to connect to the Hire2Retire SFTP server.
-
Folder Name - SFTP folder for the current workflow. The current Hire2Retire workflow will listen to the incoming extract files from the given folder path.
Figure 2. Other Connection Set Up page - Other Instruction