SCP Implementation

SCP Uploader implementation.

Warning

This is deprecated. Please use SFTP

exception dput.uploaders.scp.ScpUploadException

Thrown in the event of a problem connecting, uploading to or terminating the connection with the remote server. This is a subclass of dput.exceptions.UploadException.

class dput.uploaders.scp.ScpUploader(profile)

Provides an interface to upload files through SCP.

This is a subclass of dput.uploader.AbstractUploader

initialize(**kwargs)

See dput.uploader.AbstractUploader.initialize()

shutdown()

See dput.uploader.AbstractUploader.shutdown()

ssh_version()

Return the OpenSSH version, as a tuple of integers

upload_file(filename, upload_filename=None)

See dput.uploader.AbstractUploader.upload_file()