Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Linux CPU info. Linux/Unix
  • Kill a session dynanically using execute immediate Oracle
  • SQL_PLAN.sql for checking real execution plan Oracle
  • Oracle Data Direct to TAPE Oracle
  • ext#.sql Oracle
  • longtx.sql with the flag whether session is blocking any DML locks or not. Oracle
  • get_vmstat_solaris Oracle
  • To find explain plan for a statement that occurred in past. Oracle
  • TRUNCATE table and disabling referential constraints. Oracle
  • Updated LCK.SQL file. Oracle
  • mutex in Oracle 10.2.0.2 or Oracle 10g Oracle
  • find_cons.sql Oracle
  • Privilege to describe the table. Oracle
  • Settting up get_vmstat.sh for colletinf CPU Usage. Oracle
  • switchlogfile.sh Linux/Unix

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

  • SAN Linux/Unix
  • Korn Shell Arithmatic Linux/Unix
  • set_env_dba Linux/Unix
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • scp with ssh2 Linux/Unix
  • Logic to chech # of parameters command line parameters 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 (400)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (348)
  • SQL Server (6)
  • Uncategorized (3)
  • Videos (0)

Recent Posts

  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026
  • Creating a Container Database using dbaascli08-Apr-2026
  • track_autoupgrade_copy_progress.sql01-Apr-2026
  • refre.sql for multitenant01-Apr-2026
  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • oracle_env_10g_CADEV Linux/Unix
  • perf_today.sql Oracle
  • Running some SQL on multiple databases connecting using monitoring userid and password Linux/Unix
  • Insert cause enqueue locks Oracle
  • Standby Database File Management in 10g with STANDBY_FILE_MANAGEMENT Oracle
  • How to change hostname in Linux Linux/Unix
  • CPU Core related projections AWS
  • Wait Based Tuning Step by step with SQL statement Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme