Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

ScpSettings Class

Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9147)

Specifies various SCP settings.

Syntax
public class ScpSettings
Inheritance
Object
ScpSettings
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()

Constructors

Name Description
ScpSettings()

Creates a new instance of ScpSettings.

Properties

Name Description
AnnounceFileName

Specifies whether to announce the file name when invoking remote SCP in sink mode for a single-file upload. Some SCP servers require this and ignore the file name transmitted with file attributes and data.

EnablePutFilesRemotePathWorkaround

Enables workaround for an SCP quirk. Makes Rebex.Net.Scp.PutFiles(System.String,System.String) behave consistently, regardless whether the target directory exists or not. Unfortunately, the workaround is not compatible with recent versions of OpenSSH and causes the transfer to fail.

EnableSignaturePadding

Enable padding of RSA private key signatures (workaround for SSH servers that got the padding wrong).

EnsureKeyAcceptable

Announce public key to the server before performing key authentication.

PostponeChannelClose

Postpone channel close requests (workaround for older versions of ssh.com and Cisco SSH servers).

PreferInteractiveAuthentication

When authenticating, prefer 'keyboard-interactive' authentication to 'password' authentication.

ProcessCommand

Gets or sets a custom function to modify the SCP command before sending it to the server.

RaiseEventsFromCurrentThread

Specifies whether to raise asynchronous events from the current working thread or whether to raise them using a SynchronizationContext available when an asynchronous operation was started.

SshParameters

Gets or sets SSH session parameters.

TryPasswordFirst

When authenticating using both password and private key, try authenticating using a password first (default is to try the private key first).

WaitForServerWelcomeMessage

Wait for server SSH protocol welcome message before sending the client one.

Methods

Name Description
Clone()

Creates a new object that is a copy of the current instance.

In This Article
  • Constructors
  • Properties
  • Methods
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies