[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#321524: scp: a flag to create directories as needed



tags 321524 wontfix
user debian-ssh@lists.debian.org
usertag 321524 scp-protocol-extension
thanks

On Sat, Aug 06, 2005 at 03:57:14AM +0800, Dan Jacobson wrote:
> Package: ssh
> Version: 1:3.8.1p1-8.sarge.4
> Severity: wishlist
> File: /usr/bin/scp
> Tags: upstream
> 
> There perhaps should be a flag to create directories as needed
> $ scp .ssh/id_dsa.pub jidanni2:.ssh/authorized_keys
> Password: xxxxxx
> scp: .ssh/authorized_keys: No such file or directory

This would involve an scp protocol extension to pass the flag across to
the other side, and is thus covered by this OpenSSH FAQ entry:

  2.10 - Will you add [foo] to scp?
  
  Short Answer: no.
  
  Long Answer: scp is not standardized. The closest thing it has to a
  specification is "what rcp does". Since the same command is used on
  both ends of the connection, adding features or options risks breaking
  interoperability with other implementations.
  
  New features are more likely in sftp, since the protocol is
  standardized (well, a draft standard), extensible, and the client and
  server are decoupled.

Cheers,

-- 
Colin Watson                                       [cjwatson@debian.org]



Reply to: