Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Oracle 11g RAC on OEL 5 and Vmware 2 Oracle
  • Oracle 10g Installation/Applying Patches Tips Oracle
  • checking redhat linux version Linux/Unix
  • grep multuple patterns Linux/Unix
  • To Find Orphan OS processes. Linux/Unix
  • oradebug ipcrm ipcs Oracle
  • Jai Shree Ram Oracle
  • VIvek Encryption Package and Its Usage Oracle
  • CTAS with LONG Column for 9i and higher Oracle
  • More info about /proc folder and its relation with processes. Linux/Unix
  • Remove DOS CR/LFs (^M) Linux/Unix
  • Find Time Consuming SQL Statements in Oracle 10g Oracle
  • Sample WW22 listener.ora Oracle
  • Important Solaris Commands Linux/Unix
  • ORA-1841 Error Connecting to Upgraded Database After Set PASSWORD_LIFE_TIME 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

  • avail.sh ( find filesystem spae usage) Linux/Unix
  • changing kernel parameter in Oracle Enterpise Linux Linux/Unix
  • Zip and unzip with tar Linux/Unix
  • Guide to Linux System Command Mastery Linux/Unix
  • send attachment from unix-shell script Linux/Unix
  • SAN 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)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025
  • MYSQL and Oracle Comparison for Oracle DBA24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • CTAS with LONG Column for 7.x and 8 and 8i Oracle
  • pvm_rbs1.sql (to collect rbs info from db) Oracle
  • How to Use DBMS_STATS to Move Statistics to a Different Database Oracle
  • Changing unix system clock when Oracle database is running. Oracle
  • copying/removing directory with all its subdirectory Linux/Unix
  • find the files that are 1 day old. Linux/Unix
  • Implementing Listener Security Oracle
  • Drop all SPM baselines for SQL handle Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme