Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • create user with unlimited quota Oracle
  • tar and untar a dolder with all its subfolder. Linux/Unix
  • SYSOPER Mystery Oracle
  • Good Oracle Architecture In Short and point to point Oracle
  • Rename Oracle Instance Name Oracle
  • sid_wise_sql.sql Oracle
  • CTAS with LONG Column for 7.x and 8 and 8i Oracle
  • How to hide author name in WordPress BLOG PHP/MYSQL/Wordpress
  • ext#.sql Oracle
  • How to know Number of CPUs on Sun Box Linux/Unix
  • Privileges Required to Create Procedures and Functions that uses objects from other schema. Oracle
  • Standby Database File Management in 10g with STANDBY_FILE_MANAGEMENT Oracle
  • Jai Shree Ram Oracle
  • Set Role explaination. Oracle
  • All Hints for Oracle Databases 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

  • xargs use Linux/Unix
  • .profile Linux/Unix
  • How does one SELECT a value from a table into a Unix variable? From SQL to Shell Linux/Unix
  • move_arch_files.ksh Linux/Unix
  • How to sort list of files on basis of their sizes. Linux/Unix
  • replace alphabets using sed 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 (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (342)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • 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

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Zip and unzip with tar Linux/Unix
  • shr1.sql for MTS or Shared server configuration Oracle
  • Oracle 11g Environment Setup Oracle
  • Sort with ASCII order and Numeric Order Linux/Unix
  • catall.sh Linux/Unix
  • Logic to chech # of parameters command line parameters Linux/Unix
  • online_bkup.sql Oracle
  • To see only files and/or folders using LS command Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme