Scp from Solaris 10 (OpenSSH) to a SSH2 Box

How do i enforce the scp command using protocol 2?
i tried:
scp -o "Protocol 2" source.file ssh2host:or add "Protocol 2,1" to /etc/ssh_config
i allways get the followin error Message:
scp: warning: Executing scp1.
scp: FATAL: Executing ssh1 in compatibility mode failed (Check that scp1 is in your PATH).
lost connectionChanging the ssh2host is NOT an option.

What your hitting is an scp implementation issue not an ssh protocol issue.
scp is implemented as "make an ssh connection and then run the scp command in daemon mode".
The ssh2 (ssh.com) ssh implementation changed how scp is invoked between ssh versions 1 and 2.
Whereas openssh (and sun ssh) kept the old scp invocation method.
However when building ssh.com ssh2, it can also build the ssh1 scp (scp1) for backwards compatabilty.
I can't remember if it does it by default though. Possibly not.
So to scp from sun ssh to ssh2 involves a ssh2 protocol connection but requires invoking a ssh1 style scp program.
This isnt a security issue since it is using ssh2 protocol. Its just a compatabilty issue.
So the message about running scp1 is expected.
The only problem is its not finding it.
You need to check if you have scp1 installed on the ssh2 machine.
If it is its simply a path issue about finding it.
If not, then you might need to recompile ssh2 so it does build scp1.

Similar Messages

  • I got error when I export database ORACLE 9i from solaris 9.

    I want to export full database ORACLE 9i from SOLARIS 9 to import full database on ORACLE 9i on windows.
    I set oracle environment and NSL_LANG with command:
    bash-3.00$ export ORACLE_SID=TIS
    bash-3.00$ export NLS_LANG=AMERICAN_AMERICA.TH8TISASCII
    and then run command to export:
    bash-3.00$ exp system/manager@TIS full=y file= /u03/dmp/TISfull.dmp log=/u03/dmp/exp_TIS.log
    I got error message as:
    Export: Release 9.2.0.1.0 - Production on Thu Oct 8 17:57:32 2009
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    Export done in TH8TISASCII character set and UTF8 NCHAR character set
    About to export the entire database ...
    . exporting tablespace definitions
    . exporting profiles
    . exporting user definitions
    . exporting roles
    . exporting resource costs
    . exporting rollback segment definitions
    . exporting database links
    . exporting sequence numbers
    . exporting directory aliases
    . exporting context namespaces
    . exporting foreign function library names
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions
    . exporting system procedural objects and actions
    . exporting pre-schema procedural objects and actions
    EXP-00008: ORACLE error 25153 encountered
    ORA-25153: Temporary Tablespace is Empty
    ORA-06512: at "SYS.DBMS_AW", line 42
    ORA-06512: at "SYS.DBMS_AW", line 105
    ORA-06512: at "SYS.DBMS_AW", line 221
    ORA-06512: at "SYS.DBMS_AW_EXP", line 264
    ORA-06512: at line 1
    EXP-00083: The previous problem occurred when calling SYS.DBMS_AW_EXP.schema_info_exp
    . exporting cluster definitions
    EXP-00056: ORACLE error 25153 encountered
    ORA-25153: Temporary Tablespace is Empty
    ORA-06512: at "SYS.DBMS_LOB", line 424
    ORA-06512: at "SYS.DBMS_METADATA", line 1140
    ORA-06512: at line 1
    EXP-00056: ORACLE error 25153 encountered
    ORA-25153: Temporary Tablespace is Empty
    ORA-06512: at "SYS.DBMS_LOB", line 424
    ORA-06512: at "SYS.DBMS_METADATA", line 1140
    ORA-06512: at line 1
    EXP-00000: Export terminated unsuccessfully
    How can I solve this problem?
    Any suggestion?

    #### HOW to solve it.
    ## To check the default temporary tablespace of the database:
    SQL> select property_name, property_value from database_properties;
    ## check DEFAULT_TEMP_TABLESPACE, if it use wrong temporary tablespace, run:
    SQL> alter database default temporary tablespace temp;
    ## check user with temporary tablespace, run command:
    SQL> select username, temporary_tablespace, account_status from dba_users;
    ## change temporary tablespace:
    SQL> create temporary tablespace temp1 tempfile '/data/u01/app/oracle/oradata/TIS/temp_b.dbf' size 100m;
    SQL> alter database default temporary tablespace temp1;
    SQL> drop tablespace temp including contents and datafiles;
    SQL> create temporary tablespace temp tempfile '/data/u01/app/oracle/oradata/TIS/temp01.dbf' size 100m autoextend off extent management local uniform size 1m;
    SQL> alter database default temporary tablespace temp;
    SQL> drop tablespace temp1 including contents and datafiles;
    Thanks

  • SSH from solaris 10 to RHEL 5

    Hi,
    I want to do passwordless ssh from solaris VM to linux server.
    Kindly tell me the complete steps.

    On the machine attached to the screen in front of you:
    <pre>
    mkdir -p ~/.ssh
    chmod 700 ~/.ssh
    rm -f ~/.ssh/id_dsa
    ssh-keygen -t dsa -N "" -f ~/.ssh/id_dsa
    ssh username@remote_host "mkdir -p .ssh; chmod 700 .ssh"
    ssh username@remote_host "echo "$KEY" >> .ssh/authorized_keys; chmod 644 .ssh/authorized_keys"
    ssh username@remote_host
    (should log you right in without prompting for password)
    </pre>

  • Need Best Practice for Migrating from Solaris to Linux

    Hi Team,
    We are migrating our Data Center from Solaris to Linux and our EBS 11i, database 10g (10.2.0.5) is 6TB. Please let us know the Best Practice to Migrate our EBS 11.5.10.2 from Solaris to Linux RHEL 5.
    we require Database 10g (10.2.0.5) on Linux x86-64 RHEL 5 and Application EBS on Linux x86 RHEL 5. Please let us know for any details.
    EBS version: 11.5.10.2
    DB version: 10.2.0.5
    We have checked the certifications in Oracle support.
    Oracle EBS 11.5.10.2 is not certified with Linux x86-64 RHEL 5. 
    Oracle EBS 11.5.10.2 is certified on Linux x86 RHEL 5.
    So we require Database 10g (10.2.0.5) on Linux x86-64 RHEL 5 and Application EBS on Linux x86 RHEL 5.
    Thank You.

    You can transportable tablespace for the database tier node.
    https://blogs.oracle.com/stevenChan/entry/10gr2_xtts_ebs11i
    https://blogs.oracle.com/stevenChan/entry/call_for_xtts_eap_participants
    For the application tier node, please see:
    https://blogs.oracle.com/stevenChan/entry/migrate_ebs_apptiers_linux
    https://blogs.oracle.com/stevenChan/entry/migrating_oracle_applications_to_new_platforms
    Thanks,
    Hussein

  • Complexities of Migrating Oracle 10g from Solaris to HP-UX Itanium

    Can anyone share their experiences with regards to migrating Oracle 10g from Solaris on a Sun platform to HP-UX 11i v3 (Itanium) on HP Integrity servers. We are trying to consider all the risks associated with such a move. How much time delay did you experience in resolving unexpected issues along the way? How complex is the process? If you had to do it all over again, would you?
    In addtion, we will also be migrating Oracle eBusiness Suite 11i (11.5.10.2).
    We appreciate your helpful feedback.
    Thank you.

    Here is more information:
    - the database size is currently about 500GB
    - our ASP allows us to be down as much as we want however the company's own needs can only allow a downtime window of two days (over the weekend)
    - i presume further that RMAN might be an option to use to backup the database and instance to some transportable media
    - it would take about four days to get that media from the ASP to our facility so durign that time the instance at the ASP would have to be used
    - after we get the backup media and load everything into our in-house site, our last step would be to find a way to migrate all changes over the WAN. I am told that unless the platforms are the same on both ends, mirroring will be extremely difficult or impossible. If we have a platform that is different from the ASP platform, then the migration of all changes will require conversion and other mechanisms. I am told that HP-UX has so much complexities that this will be a daunting task to accomplish.
    Do you have any opinions and recommnedations?

  • Migration Oracle db from solaris to aix

    Hi,
    I would like to ask you for a best way how to do..
    We have a large international Oracle migration effort from Solaris to AIX. We have some challenges where a standard export/import will not work due to the extended distance between sites. As an example we are migrating from Japan to Texas.
    What is the best tool to use?
    I looked around and I found Oracle Golden Gate.
    do you have any other idea?
    Thank you,
    Regards,
    Tom

    807813 wrote:
    I dont have more info about the project but there will databases (maybe 500) with different sizes (x MB - x TB) and there could be single and RAC.
    I am looking for any tool/utility where I will be able to prepare migration document which could be used as baseline for migration all of them.I do not think it will be possible to use one approach for all DBs in your case. You should split DBs into groups you may use different approaches.
    Among 500 DBs will be:
    a) databases with "low availability" requirements where long downtime is possible. so you can stop app, take an export, import into remote db, re-target app to new db.
    b) databases where only short downtime is possible. then you can use DataGuard or some replication technologies (OGG, Shareplex, DataCurrents) to make "final sync".
    c) databases with "high availability" requirements where NO downtime is possible. Here you can use some replication technologies (i.e. DataCurrents and may be others can do it). First you copy data to remote DB and "remember" SCN you got the source dump, then you keep replicating all changes starting from this SCN. As soon as remote DB becomes in sync, you quickly switch the app to new DB.
    But I never did migration accross states (more than 1000 miles).Distance does not matter. You should have good bandwidth network connection between sites.

  • Migration of weblogic 8.1 from solaris to 10.3 in Linux

    Hello All,
    We want migrate our WebLogic 8.1 from Solaris to 10.3 in linux, i am unable to find any documents on this.
    Can any one help me on this.
    Thanks,
    Nkhil

    install linux version of weblogic 10.3
    create domain, you may have to extend your domain to include adf libraries.
    start admin server
    goto, console create datasource
    also you can enable tunneling
    open your project in jdev
    create an app. server for tunneling
    deploy it.
    that's what I did.

  • Upgrade from Solaris 8 SPARC with Sun cluster 3.1u3 to Solaris 10 SPARC

    Dear All,
    We are planning an upgrade of the OS from Solaris 8 SPARC to Solaris 10 SPARC on a two-node active-standby clustered system.
    The current major software we have on the Solaris 8 system are:
    1: Sun Cluster 3.1u3
    2: Oracle 9i 9.2.0.8
    3: Veritas File System Vxfs v4.0
    4: Sun Solaris 8 2/04 SPARC
    Any pointers as to what sequence and how the upgrade should be done?
    Thanks in advance.
    Regards,
    Ray

    yes I know it can be quite complicated and complex, but Sun provided us with a detailed documentation, at least in our case Solaris 9 to 10 it was very helpful.
    You might get better help in the cluster forum http://forums.sun.com/forum.jspa?forumID=842
    -- Nick

  • Migrating from Solaris 2.6 to 8.0

    We are migrating from Solaris 2.6 to 8.0, and my concern is all code and application which are on 2.6 is portable or not ?. Also we are using oracle 8.1.7 as out database. All code are written in C.
    Can anyone help me in this "porting"?
    Thanks in advance
    KP

    Does someone can tell me where i can find information about
    migration from solaris 2.6 to 8.0 concerning C and C++ programs and shell scripts
    Thanks you in advance
    sunsifac

  • Upgrade to Solaris 10 from Solaris 8

    My client has upgraded from Solaris 8 to Solaris 10. In the process the
    partition /lu (live update) was created at about 8GB. The root partition is currently at 94% and removal of /lu has not recovered this space. Please
    advise best practice to resolve this problem.
    regards,
    OraclWzd.

    Thanks for the reply. I guess I did not make it clear. The /lu (live update) directory needs to be removed in its entirety. It sits under the root partition and is the result of the upgrade from Solaris 8 to 10. We backed-up the directory to tape (over 8GBs) and removed all the files and sub-directories under /lu. The utilization under the root partition remains at 94%. Why would the over 8GBs removed not be returned the available space under the root partition?
    thanks,
    OraclWzd

  • Solaris 10 01/06  liveupgrade  from Solaris 8

    Hi all,
    I have to upgrade a few SUN V100 and V210 from Solaris 8 >>> 10 01/06 in the next time.
    Does someone know, if it�s possible to run liveupgrade therefore , and if such an update from 8 >>> 10 is possible at all?
    ... other ideas ?
    Thanks for a comment
    TORO

    We are researching just such a thing now with Sun. If you have the partitions to devote to Solaris 10, then yes, Liveupgrade will work. I can't give details as we have not worked out the details but Sun has shown it too us.

  • Live upgrade from solaris 8 to 10

    how do i upgrade from solaris 8 to 10 using live upgrade on a sun netra t1 machine?

    THere is a good intro to LU at
    http://www.sun.com/bigadmin/collections/installation.html
    beyond that, see docs.sun.com

  • Migrate accounts from solaris-8 to solaris-10

    Hi,
    first excuse my english :-p
    I have two mail servers (), the oldest (enterprise 250) runs under solaris-8, the newest (enterprise 450) runs under solaris-10.
    I am going to transfer users e-mail accounts, I use the /etc/password and /etc/shadow for authentication, so I don't know how to transfer users passwords from solaris-8 to solaris-10
    I tried to copy one user's pass from shadow file into the nes server but it doesn't work
    any idea???
    thanks

    Upgrades from either Solaris 8 or 9 are supported (see the Release Notes http://docs.sun.com/app/docs/doc/817-0552 section on "Changes in Upgrade Support for Solaris Releases").
    As for whether to upgrade or install anew, it depends. If you just want to have the system set up as much as possible like it is now except with the new OS, upgrade. If you'd like a chance for a fresh start, where you may have to do some work re-applying configuration and other changes you made, but end up leaving behind some old changes you no longer need, then an initial install might be appropriate.

  • Upgrading from Solaris 8 to Solaris 10

    Hi
    I am in the process of upgrading from Solaris 8 to 10 on a sparc server.
    What I would like to know if anyone has experienced compatibility issues during the upgrade with the Korn and C Shell as well as perl.

    Upgrades from either Solaris 8 or 9 are supported (see the Release Notes http://docs.sun.com/app/docs/doc/817-0552 section on "Changes in Upgrade Support for Solaris Releases").
    As for whether to upgrade or install anew, it depends. If you just want to have the system set up as much as possible like it is now except with the new OS, upgrade. If you'd like a chance for a fresh start, where you may have to do some work re-applying configuration and other changes you made, but end up leaving behind some old changes you no longer need, then an initial install might be appropriate.

  • Migration Oracle 8.17 from Solaris 8 to Solaris 10

    Is it possible to migrate Oracle 8.1.7 from Solaris 8 to Solaris 10? I find out the papers or the practices from internet that were done before. Do you have any documents said that or gurantee success?

    Perhaps contact Oracle.
    http://www.oracle.com
    Maybe they will know how to make version 8.1.7 work with newer
    distributions of various OS's.
    After all, it is their product, not Sun's product.

Maybe you are looking for

  • My macbook memory is nearly full, how can I export older photos to an external hard drive, and then delete to free up some memory?

    I do not want to move whole iphoto library to an external hard drive as this will be a bit of a pain. I just want to moves older photos out of my iphoto library, and save them on an external hard drive to save for the future. I have heard that if you

  • How do I get the iPhone Apple Store to recognize my new Apple ID email?

    I changed my email and notified Apple. My mail on my iMac works fine and my email on the phone is fine. However when I go to update apps in the Apple Store app on my iPhone4 it asks for a password but has my old email address above the spot for typin

  • Receiver File - FCC

    Folks, The understanding is that you need to have a flat XML without hierarchies at the receiver File adapter for a successful FCC. <root>...    <nameA>          <value1>value</value1>          <value2>value</value2>          <value3>value</value3>  

  • User getting print output with logo and footer is cut

    Hi Experts, User is trying to print a PDF from Portal system and the print output comes with the logo cut at the top on the right handside and footer cut at the bottom Please can you let me know what could be the issue and how to investigate the issu

  • IPad backup with iTunes 12.1.2

    After updating to OS X 10.10.3 and iTunes 12.1.2: Local backup of iPad in iTunes on Mac stops all the time on time-out. (wire connected) Sync and backup to iCloud works fine. Anybody else encountered this and found a solution?