Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Find_planinfo.sql Oracle
  • process id based files and processes Linux/Unix
  • Finding locked objects Oracle
  • sid_wise_cursor.sql find open cursor basis on username or SID Oracle
  • Jai Shree Ram Linux/Unix
  • Privilege to describe the table. Oracle
  • How To Transfer Passwords Between Databases (ref note: 199582.1) Oracle
  • How to Modify the statistics collection by MMON for AWR repository Oracle
  • perf_today.sql Oracle
  • Disbaling DBA_SCHEDULER_JOBS Oracle
  • Jai Shree Ram Oracle
  • ORACLE_SID in sqlplus Oracle
  • Test Case for Inserting Multiple (2.3 Million rows in 26 Seconds) Oracle
  • GSQ.sql Oracle
  • To find explain plan for a statement that occurred in past. Oracle

Establishing trusted relationship between dbmonitor( central monitoring) and monitoring targets.

Posted on 16-Sep-2008 By Admin No Comments on Establishing trusted relationship between dbmonitor( central monitoring) and monitoring targets.

[1] We have logserver as existing central monitoring server.

[2] need to establish other monitoring server same as logserver.

[3] so

login as oracle

copy ~/.ssh from logserver1 to dbmonitor.

on dbmonitor:

cd .ssh

cat id_dsa.pub id_rsa.pub > both_keys

then do the following for target servers. pls note that where ssh2 is installed the file will be ~/.ssh/authorized_keys2. Where ssh1 is installed the file will be ~/.ssh/authorized_keys.

oracle@dbmonitor*-/export/home/oracle/.ssh

==>cat both_keys | ssh keller2 “cat >> .ssh/authorized_keys2”

oracle@keller2’s password:

Permission denied, please try again.

oracle@keller2’s password:

oracle@dbmonitor*-/export/home/oracle/.ssh

==>cat both_keys | ssh keller2 “cat >> .ssh/authorized_keys”

oracle@keller2’s password:

oracle@dbmonitor*-/export/home/oracle/.ssh

==>cat both_keys | ssh keller4 “cat >> .ssh/authorized_keys”

oracle@keller4’s password:

oracle@dbmonitor*-/export/home/oracle/.ssh

==>cat both_keys | ssh keller4 “cat >> .ssh/authorized_keys”

oracle@keller4’s password:

oracle@dbmonitor*-/export/home/oracle/.ssh

==>cat both_keys | ssh liback “cat >> .ssh/authorized_keys2”

oracle@liback’s password:

oracle@dbmonitor*-/export/home/oracle/.ssh

==>cat both_keys | ssh liback “cat >> .ssh/authorized_keys”

oracle@liback’s password:

oracle@dbmonitor*-/export/home/oracle/.ssh

Then try to connect from dbmonitor to target box using ssh, it will not ask the password.

Linux/Unix, shell

Post navigation

Previous Post: Finding last recovered file on DR and remove all chanracters before any “/”
Next Post: When error comes for temporary tablespace with version <= 9i

Related Posts

  • cif crons Linux/Unix
  • CPU Core related projections AWS
  • Jai Shree Ram Linux/Unix
  • Running select from V$ views from remote server Linux/Unix
  • tuning commmand for cpu, ip and memory stats Linux/Unix
  • find_du.ksh to find # of files, their sizes in current folder and its subdolder 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
  • Roles and Stored Object behaviour Oracle
  • Check SQL Server edition SQL Server
  • How can I tell if ASO is installed ? Oracle
  • To see mem usage and CPU usage system wide. Linux/Unix
  • ORACLE_SID in sqlplus Oracle
  • sid_wise_cursor.sql find open cursor basis on username or SID Oracle
  • sid_wise_sql.sql Oracle
  • Formatter Explain plan Output 1 Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme