For additional information on configuring the IBM i SSHD to use Public-Key authentication, refer to the following Rochester Support Center knowledgebase document New, Configuring the IBM i SSHD to Use Public-Key Authentication. Use FTP in binary mode to move the OpenSSH public key that was created in Step 2 into the user's home directory on the IBM i.
Click on the Yes button so that no passphrase is associated with the private key: A passphrase is not required for the private key. ssh folder on the IBM i:Ĭlick the Save private key button in the Actions section to save the private key. The OpenSSH version of the public key needs to be stored in the authorized_keys file in the user's. Select the radio button for the type of key that you want to generate, and click on the Generate button:Ĭopy the public key underneath the section labeled 'Public key for pasting into OpenSSH authrorized_keys file' into notepad.
Use the PuTTY key generator utility to create the RSA or DSA key pair. You should perform the following steps to configure the PuTTY SSH client to use Public-Key authentication to gain access to the IBM i's SSHD: 1. The IBM i SSHD has been configured to accept and process inbound SSH connections. The IBM i is running at V5R4 or higher of the operating system.Ī user profile consisting of eight characters or less has been created to provide SSH access to the IBM i.Ī home directory exists for the user profile that was created to provide SSH access to the IBM i. PuTTY key generator utility - Generates Rivest, Shamir, & Aldeman (RSA) or Digital Signature Algorithm (DSA) key pairs in the SecSh format Public-key authentication allows Secure Shell (SSH), Secure File Transfer Protocol (SFTP), and Secure Copy (SCP) clients to gain access to remote hosts running the Secure Shell Daemon (SSHD) without having to provide a password.