Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • proper cpu stats Linux/Unix
  • True Session Wait Activity in Oracle 10g Verygood Oracle
  • replacing ^M character when passing files from Windows to Unix Linux/Unix
  • Drop database in Oracle 10g Oracle
  • My FTP Job Scheduling for www.pvmehta.com PHP/MYSQL/Wordpress
  • on IBM-AIX for display Linux/Unix
  • Oracle 11g RAC on OEL 5 and Vmware 2 Oracle
  • How to calculate PROCESSES parameter Oracle
  • Order by with ROWNUM Oracle
  • sid_wise_sql.sql Oracle
  • Query to Generate aggregate on every 30 mins. Oracle
  • Library cahe Latches and internal explaination Oracle
  • Gathering statistics with DBMS_STATS Oracle
  • Parallel DML Oracle
  • newupload.html PHP/MYSQL/Wordpress

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

  • grep multuple patterns Linux/Unix
  • kill all processes from specific user in solaris. Linux/Unix
  • For Search and replace unix command. Linux/Unix
  • Nice Article about semaphores and init.ora Processes parameter relations Linux/Unix
  • find checksum of a file. Linux/Unix
  • To see only files and/or folders using LS command 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
  • how to find VIP from ifconfig Linux/Unix
  • Running select from V$ views from remote server Linux/Unix
  • MYSQL for Oracle DBA MYSQL
  • Monitor and Trace Unix processes using truss Linux/Unix
  • Temporary Tablespsace Temp tablespace behaviour Oracle
  • Reclaim temp tablespace for oracle 8, 8i Oracle
  • DB Console Mainenance. Oracle
  • dbms_job.submit example Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme