3 Replies Latest reply: May 30, 2013 2:11 PM by J Peters-Oracle RSS

    Cannot scp a password file between virtual machines

      Hi all!

      I am trying to test a Data Guard configuration on two appropriately configured Oracle Open Days images on Virtual Box. Unfortunately when trying to copy the password file from the primary to the standby using the following command.....

      scp orapworcl oracle@dg2:/home/oracle/app/oracle/product/11.2.0/dbhome_2/dbs

      ......I get the following error/message (because it isn't an error as such...)

      All passwords are oracle or noted if otherwise.

      Could it be that this is a functionality that is turned off for these images? It would be really helpful to get this going!

      Both machines have statically assigned IPAddresses
      TNSPING and PING show the other machine to be alive and databases "accessible"
      No passwords have been changed
      The Oracle version is

      Many thank for your help in advance!


        • 1. Re: Cannot scp a password file between virtual machines
          J Peters-Oracle
          This issue is not with OVM or VirtualBox.

          The ability to "scp" is dependent upon the ability to "ssh" to a host. If "ssh" is dysfunctional then "scp" will also be

          • 2. Re: Cannot scp a password file between virtual machines
            J Peters-Oracle
            Excerpt "man scp",

            "scp copies files between hosts on a network. It uses ssh(1) for data
            transfer, and uses the same authentication and provides the same security
            as ssh(1). Unlike rcp(1), scp will ask for passwords or passphrases if
            they are needed for authentication."

            Other useful information for "ssh",

            [OL6u3 ~]$ which ssh

            [OL6u3 ~]$ rpm -qf /usr/bin/ssh

            [OL6u3 ~]$ rpm -ql openssh-clients
            • 3. Re: Cannot scp a password file between virtual machines
              J Peters-Oracle
              Other useful information for "openssh-clients",

              [OL6u3 ~]$ rpm -qi openssh-clients
              Name : openssh-clients Relocations: (not relocatable)
              Version : 5.3p1 Vendor: Oracle America
              Release : 81.el6 Build Date: Thu Jun 21 16:56:56 2012
              Install Date: Wed May 29 09:20:33 2013 Build Host: ca-build19.us.oracle.com
              Group : Applications/Internet Source RPM: openssh-5.3p1-81.el6.src.rpm
              Size : 1070245 License: BSD
              Signature : RSA/8, Fri Jun 22 14:00:30 2012, Key ID 72f97b74ec551f03
              URL : http://www.openssh.com/portable.html
              Summary : An open source SSH client applications
              Description :
              OpenSSH is a free version of SSH (Secure SHell), a program for logging
              into and executing commands on a remote machine. This package includes
              the clients necessary to make encrypted connections to SSH servers.