NetBSD-Users archive

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

Re: sftp(1) -r option on get and put

On Fri, Dec 24, 2010 at 11:21:30AM -0500, Christopher Berardi wrote:
> So, what's the story with the -r option?

The story is:

1.) You are reading the wrong manual page. Here is the correct one:

    And it doesn't mention the "-r" option with isn't present in NetBSD 5.1
    as you already found out.

2.) The OpenSSH version distributed with NetBSD-current (5.6) is newer
    than the version in NetBSD 5.1 (5.0) and therefore supports the
    "-r" option for sftp(1).

3.) You could use either "scp -r ..." or "rsync -r ..." to transfer
    complete directory trees over an SSH connection.

        Kind regards

Matthias Scheler                        

Home | Main Index | Thread Index | Old Index