Re: Proposed enhancement to scp
From: Darren Tucker (dtucker_at_dodgy.net.au)
Date: 02/26/04
- Next message: Richard E. Silverman: "Re: ssh 2 tunnel to named pipe not working - please help"
- Previous message: steve: "Re: SSH tunneling/port forwarding and stateful packet inspection"
- In reply to: Steve Turner: "Re: Proposed enhancement to scp"
- Next in thread: Per Hedeland: "Re: OpenSSH 3.8 Released"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 26 Feb 2004 20:50:45 +0000 (UTC)
In article <URn%b.25105$mE3.20483@newssvr24.news.prodigy.com>,
Steve Turner <bbqboyee@H2OlooWoodworks.com> wrote:
>Darren Tucker wrote:
>> Be aware that the model for scp is rcp, and if it's not something rcp
>> does then there's a good chance it will not be accepted. (Also, -p is
>> already used.)
>
>I'm sorry to hear you say that. Where would GNU software be today if
>they had decided that making improvements on the original code was a bad
>idea?
Well, OpenSSH is not GNU software, but that's really the point.
The point is scp is a non-standard. The closest thing it has to a
specification is "what rcp does". The same command is used on both ends
of the connection, and it has to interoperate with other implementations,
so adding new options can be tricky.
New features are more likely in sftp, since the protocol is standardized
(well, a draft standard), and the client and server are decoupled. In
fact, you can already do what you want with the batch option, albeit in
a somewhat verbose way:
(echo -mkdir /tmp/dir; echo put -P file /tmp/dir/file) | sftp -b - localhost
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
- Next message: Richard E. Silverman: "Re: ssh 2 tunnel to named pipe not working - please help"
- Previous message: steve: "Re: SSH tunneling/port forwarding and stateful packet inspection"
- In reply to: Steve Turner: "Re: Proposed enhancement to scp"
- Next in thread: Per Hedeland: "Re: OpenSSH 3.8 Released"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|