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 JULY 11, 2017

Applies to:

Solaris Operating System - Version 9 GA and later
All Platforms

Goal

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 download.oracle.com.

Solution

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 hundreds of Community platforms