Openssh Portable



Documentation » Getting Started » Protocols » SFTP »

SFTP status/error codes are a numerical codes that an SFTP server1 uses to indicate a result of a client request (i.e. a request sent by WinSCP to the server).

Openssh Portable Scanner

Name Last modified Size Description; Parent Directory - old/ 2002-09-18 01:30. 2020-02-14 03:57: 0: ChangeLog: 2021-04-18 23:07: 416K: DJM-GPG-KEY.asc. ./ 03-Mar-2021 01:46 - ChangeLog 03-Mar-2021 25 DJM-GPG-KEY.asc 18-Sep-2002 INSTALL 03-Mar-2021 5 TODO 03-Mar-2021 UPGRADING 18-Sep-2002 deprecatedgzsigkey.pub 26-May-2005 03:31 409 deprecatedgzsigkey.pub.asc 26-May-2005 03:31 187 old/ 18-Sep-2002 03:30 - openssh-2.1.1p4-vs-openbsd.diff. Note that not all servers use all codes. Most SSH/SFTP servers, including the most commonly used OpenSSH, support only SFTP version 3 that defines only codes 0 to 8. These servers would generally use code 4 (Failure) for many errors for which there is a specific code defined in the later versions of SFTP protocol, such as.

Openssh

WinSCP translates the numerical codes to a textual description for you, so you do not have to remember them.

The SFTP server should also provide a meaningful textual description of the error itself. WinSCP includes the server-side description in its error message, labeled “Error message from server”. Such description can include more detailed information than WinSCP can possibly deduce from the numerical code.

Note that not all servers use all codes. Most SSH/SFTP servers, including the most commonly used OpenSSH, support only SFTP version 3 that defines only codes 0 to 8.

These servers would generally use code 4 (Failure) for many errors for which there is a specific code defined in the later versions of SFTP protocol, such as:

  • Renaming a file to a name of already existing file.
  • Creating a directory that already exists.
  • Moving a remote file to a different filesystem (HDD).
  • Uploading a file to a full filesystem (HDD).
  • Exceeding a user disk quota.

In this case the server is required to provide meaningful description of the error itself (see above). Unfortunately, OpenSSH SFTP server uses always description “Failure”. Is such case, there is unfortunately no way to tell a reason of the failure.

CodeNameDescriptionComment
0OKIndicates successful completion of the operation.
1EOFAn attempt to read past the end-of-file was made; or, there are no more directory entries to return.
2No such fileA reference was made to a file which does not exist.
3Permission deniedThe user does not have sufficient permissions to perform the operation.
4FailureAn error occurred, but no specific error code exists to describe the failure. This error message should always have meaningful text in the the error message field.See above.
5Bad messageA badly formatted packet or other SFTP protocol incompatibility was detected.
6No connectionThere is no connection to the server. This error may be used locally, but must not be return by a server.WinSCP does not use the code.
7Connection lostThe connection to the server was lost. This error may be used locally, but must not be return by a server.WinSCP does not use the code.
8Operation unsupportedAn attempted operation could not be completed by the server because the server does not support the operation. It may be returned by the server if the server does not implement an operation.
9Invalid handleThe handle value was invalid.
10No such pathThe file path does not exist or is invalid.
11File already existsThe file already exists.
12Write protectThe file is on read-only media, or the media is write protected.
13No mediaThe requested operation cannot be completed because there is no media available in the drive.
14No space on file-systemThe requested operation cannot be completed because there is insufficient free space on the filesystem.
15Quota exceededThe operation cannot be completed because it would exceed the user’s storage quota.
16Unknown principalA principal referenced by the request (either the owner, group, or who field of an ACL), was unknown.
17Lock conflictThe file could not be opened because it is locked by another process.
18Directory not emptyThe directory is not empty.
19Not a directoryThe specified file is not a directory.
20Invalid filenameThe filename is not valid.
21Link loopToo many symbolic links encountered or, an SSH_FXF_NOFOLLOW open encountered a symbolic link as the final component
22Cannot deleteThe file cannot be deleted. One possible reason is that the advisory read-only attribute-bit is set.
23Invalid parameterOne of the parameters was out of range, or the parameters specified cannot be used together.
24File is a directoryThe specified file was a directory in a context where a directory cannot be used.
25Range lock conflictA read or write operation failed because another process’s mandatory byte-range lock overlaps with the request.WinSCP does not use byte range locking.
26Range lock refusedA request for a byte range lock was refused.WinSCP does not use byte range locking.
27Delete pendingAn operation was attempted on a file for which a delete operation is pending.
28File corruptThe file is corrupt; an filesystem integrity check should be run.
29Owner invalidThe principal specified can not be assigned as an owner of a file.
30Group invalidThe principal specified can not be assigned as the primary group of a file.
31No matching byte range lockThe requested operation could not be completed because the specified byte range lock has not been granted.WinSCP does not use byte range locking.

Advertisement

  • Status response section of draft-ietf-secsh-filexfer-13;
  • SFTP specifications list in “History and development” section of SSH File Transfer Protocol.
  1. Exception are codes 6 and 7 that intended to by used by client. But WinSCP never uses these.Back

This is the portable version of the OpenSSH project, an open source version of the SSH protocol

What's new in Portable OpenSSH 8.1p1:

  • ssh(1): fix SIGWINCH delivery of Solaris for multiplexed sessions bz#3030
  • ssh(1), sshd(8): fix typo that prevented detection of Linux VRF
  • sshd(8): add no-op implementation of pam_putenv to avoid build breakage on platforms where the PAM implementation lacks this function (e.g. HP-UX). bz#3008
  • sftp-server(8): fix Solaris privilege sandbox from preventing the legacy sftp rename operation from working (was refusing to allow hard links to files owned by other users). bz#3036
Read the full changelog

Portable OpenSSH is an open source software project, a portable version of the OpenSSH (Open Source Secure Shell) protocol suite of network connectivity utilities that are used today on the Internet by an increasing number of people. It has been designed from the offset to encrypt all network traffic, including passwords, in order to effectively eliminate potential attacks that you cannot predict, such as connection hijacking attempts or eavesdropping.

Features at a glance

Key features include strong encryption based on the Blowfish, AES, 3DES and Arcfour algorithms, X11 forwarding by encrypting the X Window System traffic, strong authentication based on the Kerberos Authentication, Public Key and One-Time Password protocols, as well as port forwarding by encrypting channels for legacy protocols.

In addition, the software comes with agent forwarding based on the SSO (Single-Sign-On) specification, AFS and Kerberos ticket passing, support for SFTP (Secure FTP) client and server in both SSH1 and SSH2 protocols, data compression, and interoperability, which makes the program to comply with the SSH 1.3, 1.5 and 2.0 protocol standards.

Openssh Portable Windows

What’s included?

Once installed, OpenSSH will automatically replace the Telnet and rlogin utilities with the SSH (Secure Shell) program, as well as the FTP tool with SFTP and RCP with SCP. Additionally, it includes the SSH daemon (sshd) and various useful utilities, such as ssh-agent, ssh-add, ssh-keygen, ssh-keysign, ssh-keyscan and sftp-server.

Under the hood and availability

The entire project is written in the C programming language and it’s distributed as a universal sources archive for all GNU/Linux operating systems, allowing you to install it on either 32-bit or 64-bit (recommended) computers.

Please note that the sources tarball requires you to configure and compile the project prior to installation, so we strongly recommend end-users to try to install it from the default software repositories of their GNU/Linux operating system.

Filed under

Portable OpenSSH

Openssh For Windows 10

was reviewed by Marius Nestor
5.0/5
This enables Disqus, Inc. to process some of your data. Disqus privacy policy

Portable OpenSSH 8.1p1

Openssh Portable Camera

add to watchlistsend us an update

Openssh Portable Monitor

runs on:
Linux
filename:
openssh-8.1p1.tar.gz
main category:
Adaptive Technologies
developer:
visit homepage