My Oracle Support Banner

How to Configure Secure Shell to Use the id_rsa Key for passwordless login to a Remote Host (Doc ID 1006101.1)

Last updated on APRIL 24, 2020

Applies to:

Solaris Operating System - Version 9 GA and later
All Platforms


This procedure is used to reduce the number of login prompts needed to do secure remote login with Sun Secure Shell (SSH) this including also SCP ( Secure Copy) and  SFTP ( Secure File Transfer)  ,  In this document we describe the use of RSA Public Key Authentication, in other words : passwordless login using public Key. ( Note: Its the same steps even for dsa keys , except the "ssh-keygen -t dsa" and stored files. ( /.ssh/id_dsa) )


For a complete list of required files and file entries for all the Sun Secure Shell authentication modes, see Table 19-1 "Authentication Methods for Solaris Secure Shell" in the Solaris 10 System Administration Guide: Security Services book at


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.