Your browser does not allow storing cookies. We recommend enabling them.

SSH Tectia 
PreviousNextUp[Contents] [Index]

    About This Document>>
    Installing SSH Tectia Client >>
    Getting Started >>
    Configuring SSH Tectia Client >>
    Connecting to a Remote Host Computer>>
    Transferring Files>>
    Tunneling Applications>>
    GUI Reference>>
    Troubleshooting >>
    Command-Line Tools >>
        ssh2 >>
        scp2 >>
            File Name Support
            scp2 Return Values
        sftp2 >>
        ssh-keygen2 >>
        ssh-cmpclient >>
        ssh-certview >>

scp2 Return Values

The Windows command-line version of scp2 returns the following values based on the success of the operation:

0     Operation was successful. 
1     Operation resulted in an undetermined error within sshfilecopy. 
2     Connecting to the host failed. 
4     Destination is not a directory, but a directory was specified by the user. 
5     File transfer protocol mismatch. 
6     Specific to ssh_file_copy_glob. No matches.

The following disconnection values are used:

  • 128 + signal number

    This is returned if scp2 encounters a fatal signal. For example, 143 would be returned for SIGTERM (signal number 15).

  • 64 + disconnect code

    This is returned on disconnect, clean or otherwise. The disconnect codes are the following:

        host not allowed to connect      1
        protocol error                   2
        key exchange failed              3
        reserved                         4
        MAC error                        5
        compression error                6
        service not available            7
        protocol version not supported   8
        host key not verifiable          9
        connection lost                 10
        by application                  11
        too many connections            12
        auth cancelled by user          13
        no more auth methods available  14
        illegal user name               15

    For example, 74 would mean connection lost.

PreviousNextUp[Contents] [Index]

[ Contact Information | Support | Feedback | SSH Home Page | SSH Products ]

Copyright © 2010 SSH Communications Security Corp.
This software is protected by international copyright laws. All rights reserved.
Copyright Notice




What to read next:

  • Reduce Secure Shell risk. Get to know the NIST 7966.

    The NISTIR 7966 guideline from the Computer Security Division of NIST is a direct call to action for organizations regardless of industry and is a mandate for the US Federal government.
    Download now
  • ISACA Practitioner Guide for SSH

    With contributions from practitioners, specialists and SSH.COM experts, the ISACA “SSH: Practitioner Considerations” guide is vital best practice from the compliance and audit community.
    Download now