version 1.1, 2008/05/16 08:30:42 |
version 1.2, 2008/05/17 01:31:56 |
|
|
This documents OpenSSH's deviations and extensions to the published SSH |
This documents OpenSSH's deviations and extensions to the published SSH |
protocol. |
protocol. |
|
|
Note that OpenSSH's sftp and sftp-server implement revision 3 of the the |
Note that OpenSSH's sftp and sftp-server implement revision 3 of the SSH |
SSH filexfer protocol described in: |
filexfer protocol described in: |
|
|
http://www.openssh.com/txt/draft-ietf-secsh-filexfer-02.txt |
http://www.openssh.com/txt/draft-ietf-secsh-filexfer-02.txt |
|
|
|
|
This transport-layer compression method uses the zlib compression |
This transport-layer compression method uses the zlib compression |
algorithm (identical to the "zlib" method in rfc4253), but delays the |
algorithm (identical to the "zlib" method in rfc4253), but delays the |
start of compression until after authentication has completed. This |
start of compression until after authentication has completed. This |
avoid exposing compression code to attacks from unauthenticated users. |
avoids exposing compression code to attacks from unauthenticated users. |
|
|
The method is documented in: |
The method is documented in: |
|
|
|
|
while still keeping the channel open for the endpoint to send data to |
while still keeping the channel open for the endpoint to send data to |
the peer. |
the peer. |
|
|
This is desirable, since it saves the transmission of data the would |
This is desirable, since it saves the transmission of data that would |
otherwise need to be discarded and it allows an endpoint to signal local |
otherwise need to be discarded and it allows an endpoint to signal local |
processes of the condition, e.g. by closing the corresponding file |
processes of the condition, e.g. by closing the corresponding file |
descriptor. |
descriptor. |
|
|
"1". |
"1". |
|
|
7. sftp: Extension requests "statvfs@openssh.com" and |
7. sftp: Extension requests "statvfs@openssh.com" and |
"fstatvfs@openssh.com" |
"fstatvfs@openssh.com" |
|
|
These requests correspond to the statvfs and fstatvfs POSIX system |
These requests correspond to the statvfs and fstatvfs POSIX system |
interfaces. The "statvfs@openssh.com" request operates on an explicit |
interfaces. The "statvfs@openssh.com" request operates on an explicit |
|
|
The "fstatvfs@openssh.com" operates on an open filehandle: |
The "fstatvfs@openssh.com" operates on an open filehandle: |
|
|
uint32 id |
uint32 id |
string "statvfs@openssh.com" |
string "fstatvfs@openssh.com" |
string handle |
string handle |
|
|
These requests return a SSH_FXP_STATUS reply on failure. On success they |
These requests return a SSH_FXP_STATUS reply on failure. On success they |