commit | 2c24eaad1ca5ed563cb1eed5adfa04609c373b2e | [log] [tgz] |
---|---|---|
author | Tommie Gannert <tommie@gannert.se> | Fri May 24 21:23:18 2019 +0200 |
committer | John Eikenberry <jae@zhar.net> | Sun Aug 25 20:16:37 2019 -0700 |
tree | 9e63772ce216035f38d8cf6230af576218784532 | |
parent | 3edd153f213d8d4191a0ee4577c61cca19436632 [diff] |
Implement the hardlink@openssh.com extension. Both client and server. This is documented in https://github.com/openssh/openssh-portable/blob/master/PROTOCOL Draft 7 of SFTP added support for SSH_FXP_LINK which supports both symlinks and hardlinks, but unfortunately OpenSSH doesn't support that: https://tools.ietf.org/html/draft-ietf-secsh-filexfer-07#section-7.7 Adding support for this as an option would be a nice extension to this.
The sftp
package provides support for file system operations on remote ssh servers using the SFTP subsystem. It also implements an SFTP server for serving files from the filesystem.
See godoc.org/github.com/pkg/sftp for examples and usage.
The basic operation of the package mirrors the facilities of the os package.
The Walker interface for directory traversal is heavily inspired by Keith Rarick's fs package.
We welcome pull requests, bug fixes and issue reports.
Before proposing a large change, first please discuss your change by raising an issue.
For API/code bugs, please include a small, self contained code example to reproduce the issue. For pull requests, remember test coverage.
We try to handle issues and pull requests with a 0 open philosophy. That means we will try to address the submission as soon as possible and will work toward a resolution. If progress can no longer be made (eg. unreproducible bug) or stops (eg. unresponsive submitter), we will close the bug.
Thanks.