Bug 886 - Unable to scp from OPenSSH to Commercial SSH
Summary: Unable to scp from OPenSSH to Commercial SSH
Status: CLOSED INVALID
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: scp (show other bugs)
Version: 3.8.1p1
Hardware: SPARC Solaris
: P2 major
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-25 07:58 AEST by Sumit Mondaiyka
Modified: 2004-09-11 13:18 AEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sumit Mondaiyka 2004-06-25 07:58:20 AEST
I am tring to connect from OpenSSH to commercial SSH.
the ssh and sftp works fine, but when I try scp it gives following error:

/usr/bin/ksh: scp:  not found
lost connection

when I try scp -v I get folowing mesage


Executing: program /usr/local/bin/ssh host server01, user oracle, command scp
-v -t /u030/oracle/.
OpenSSH_3.8.1p1, OpenSSL 0.9.7d 17 Mar 2004
debug1: Reading configuration data /usr/local/etc/ssh_config
debug1: Connecting to server01 [0.0.00.000] port 22.
debug1: Connection established.
debug1: identity file /u001/oracle/.ssh/identity type -1
debug1: identity file /u001/oracle/.ssh/id_rsa type -1
debug1: identity file /u001/oracle/.ssh/id_dsa type 2
debug1: Remote protocol version 2.0, remote software version 3.2.0-SecurID SSH S
ecure Shell
debug1: no match: 3.2.0-SecurID SSH Secure Shell
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: sending SSH2_MSG_KEXDH_INIT
debug1: expecting SSH2_MSG_KEXDH_REPLY
debug1: Host 'server01' is known and matches the DSA host key.
debug1: Found key in /u001/oracle/.ssh/known_hosts:3
debug1: ssh_dss_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,securid-1@ssh.com,password
debug1: Next authentication method: publickey
debug1: Trying private key: /u001/oracle/.ssh/identity
debug1: Trying private key: /u001/oracle/.ssh/id_rsa
debug1: Offering public key: /u001/oracle/.ssh/id_dsa
debug1: Server accepts key: pkalg ssh-dss blen 434
debug1: read PEM private key done: type DSA
debug1: Authentication succeeded (publickey).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Sending command: scp -v -t /u030/oracle/.
/usr/bin/ksh: scp:  not found
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: channel 0: free: client-session, nchannels 1
debug1: fd 0 clearing O_NONBLOCK
debug1: fd 1 clearing O_NONBLOCK
debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 0.2 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0
debug1: Exit status 127
lost connection
Comment 1 Ben Lindstrom 2004-06-25 08:56:11 AEST
SecureShell doesn't support the rcp over ssh (scp).  They only support sftp.

You can copy OpenSSH's scp to the right place on the machine in question and it may work.  Otherwise 
file a complaint with them.