Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Distributed Transaction Troubleshooting. Oracle
  • Jai Shree Ram Oracle
  • usnsql.sql Displays information about UNDO segments with sql statements Oracle
  • Creating never expiring DB user accounts in Oracle Oracle
  • Good link for LIO in Oracle ( Logical IOs) Oracle
  • AWR settings- MMON is not taking snapshot. Oracle
  • findobj.sql Oracle
  • useful dg links Oracle
  • When to rebuld B-tree index Oracle
  • Jai Shree Ram Oracle
  • PLSQL Table Syntax 2 Oracle
  • How does one overcome the Unix 2 Gig file limit? Linux/Unix
  • Follwoing korn shell is used to move files from source folder to destination folder and gzip it in destination folder. mv_iotto.ksh Linux/Unix
  • Privilege to describe the table. Oracle
  • fkwoindex.sql /* Find FK without Index */ 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

  • scripts to take listener.log backup Linux/Unix
  • how to find VIP from ifconfig Linux/Unix
  • Jai Shree Ram Linux/Unix
  • To seee semaphores and shared memory segments in Solaris Linux/Unix
  • handling filenname with space Linux/Unix
  • CPU speed on solaris 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 (150)
  • MYSQL (5)
  • Oracle (403)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (151)
  • SQL scripts (349)
  • SQL Server (6)
  • Uncategorized (5)
  • Videos (0)

Recent Posts

  • Key Management in Oracle: The Core Issue: Missing Master Key12-May-2026
  • SAT Mathematics 10 questions and answer at the end.30-Apr-2026
  • top 10 AI news today30-Apr-2026
  • runon_allpdbs_show_conname.sh23-Apr-2026
  • runon_allcdbs_find_pdbs.sh23-Apr-2026
  • 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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • USER_TABLES.Freelists Oracle
  • Another Tuning Article for subheap of shared pool Oracle
  • MYSQL for Oracle DBA MYSQL
  • find_encr_wallet.sql Uncategorized
  • runon_allpdbs_show_conname.sh Oracle
  • Implementing Listener Security Oracle
  • To find all disk io ( EMC as well as local) Linux/Unix
  • segment_wise_space.sql segspace.sql Segment wise space usage (allocated and used) Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme