Bug 634 - Make sftp (mostly) compatible with scp commandline
Summary: Make sftp (mostly) compatible with scp commandline
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: scp (show other bugs)
Version: 3.6.1p2
Hardware: All All
: P2 enhancement
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords: low-hanging-fruit
Depends on: 520
Blocks:
  Show dependency treegraph
 
Reported: 2003-09-03 12:14 AEST by William Sherwin
Modified: 2022-10-04 21:58 AEDT (History)
2 users (show)

See Also:


Attachments
scp-like commandline syntax for sftp (2.23 KB, patch)
2004-12-08 03:08 AEDT, Andrew Mortensen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description William Sherwin 2003-09-03 12:14:22 AEST
It is impossible to utilize scp to copy files between a machine running OpenSSH
and one running ssh.com's SSHD from the console of the OpenSSH machine.  It
first attempts to execute SSH1 compatibility, at which point it fails.  I
believe that this problem is intentional (from ssh.com); however, I am
uncertain, and this precludes my use of OpenSSH as I need scp access to ssh.com
machines.
Comment 1 Markus Friedl 2003-09-03 19:57:35 AEST
you can use sftp instead,
i don't think we will add sftp protocol support to scp soon.
Comment 2 Damien Miller 2003-09-04 13:54:46 AEST
ssh.com changed the protocol, but kept the binary name the same. In ssh.com's
language:

ssh1 scp == scp
ssh2 scp == sftp

Our sftp works fine with ssh.com ssh2 "scp" and our scp works fine with their
ssh1 "scp".

OTOH I'd love someone to write a scp-compatible commandline syntax for our sftp.
Comment 3 Andrew Mortensen 2004-12-08 03:08:33 AEDT
Created attachment 750 [details]
scp-like commandline syntax for sftp

First pass at scp-like commandline syntax for sftp.
Comment 4 Damien Miller 2022-09-28 12:04:18 AEST
We did the opposite recently: scp now uses sftp under the hood by default.
Comment 5 Damien Miller 2022-10-04 21:58:54 AEDT
Closing bugs from openssh-9.1 release cycle