Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Exadata Basics Oracle
  • Privileges Required to Create Procedures and Functions that uses objects from other schema. Oracle
  • Unix split command to split files Linux/Unix
  • Database logon trigger issue Oracle
  • SYSOPER Mystery Oracle
  • purge_trc.sh Linux/Unix
  • good linux notes Linux/Unix
  • Small sample shell program Linux/Unix
  • Oracle Identifiers Oracle
  • USE_NL and INDEX hints example Oracle
  • alter database backup controlfile to trace Oracle
  • RMAN : Consistent Backup, Restore and Recovery using RMAN Oracle
  • mutex in Oracle 10.2.0.2 or Oracle 10g Oracle
  • v$backup.status information Oracle
  • ORA-4031 issue and solution on 09-MAY-2008 Oracle

Implementation of key based authentications

Posted on 07-Oct-2005 By Admin No Comments on Implementation of key based authentications

*******************************************************************************************Step by Step Implementation of key based authentications from Source A to Destination B. *******************************************************************************************

(1) At source A

(1-A) Generate a Key

ssh-keygen -t dsa

Above command creates a public key file called : id_dsa.pub and private key called id_dsa

(1-B) Cat id_dsa.pub to the destination B and save as a file called authorized_keys for ssh1 or authorized_keys for ssh2 in the .ssh directory of that login-id.

(2) At the source then create a file called config with the foll contents

Host

User

Compression yes

Protocol 2

RSAAuthentication yes

StrictHostKeyChecking no < could be set to yes for stricter checking, I havent tried this>

ForwardAgent yes

ForwardX11 yes

IdentityFile /opt/app/oracle/.ssh/id_dsa

Linux/Unix, shell

Post navigation

Previous Post: Find Command
Next Post: Roles and Stored Object behaviour

Related Posts

  • Find Command Linux/Unix
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • To Find Orphan OS processes. Linux/Unix
  • How does one overcome the Unix 2 Gig file limit? Linux/Unix
  • purge_trc.sh Linux/Unix
  • tuning commmand for cpu, ip and memory stats Linux/Unix

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (395)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026
  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Check SQL Server edition SQL Server
  • Find_stale_dr.sql finding stale physical DR.. Oracle
  • Optimizer_Index init.ora parameter explaination. Oracle
  • Good RAC & Standby Notes Oracle
  • How to stop OCSSD Daemon Oracle
  • Oracle Data Direct to TAPE Oracle
  • get_vmstat_linux Oracle
  • PLSQL Table Syntax 1 Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme