Documentation ¶
Index ¶
Constants ¶
View Source
const ( DriverAuto = Driver("auto") // Default DriverBuiltin = Driver("builtin") // Legacy. Unrecommended. DriverOpensshSftpServer = Driver("openssh-sftp-server") // More robust and secure. Recommended. )
Variables ¶
This section is empty.
Functions ¶
func DetectOpensshSftpServerBinary ¶ added in v0.3.0
func DetectOpensshSftpServerBinary() string
Types ¶
type ReverseSSHFS ¶
type ReverseSSHFS struct { *ssh.SSHConfig Driver Driver OpensshSftpServerBinary string // used only when Driver == DriverOpensshSftpServer LocalPath string Host string Port int RemotePath string Readonly bool SSHFSAdditionalArgs []string // contains filtered or unexported fields }
func (*ReverseSSHFS) Close ¶
func (rsf *ReverseSSHFS) Close() error
func (*ReverseSSHFS) Prepare ¶
func (rsf *ReverseSSHFS) Prepare() error
func (*ReverseSSHFS) Start ¶
func (rsf *ReverseSSHFS) Start() error
Click to show internal directories.
Click to hide internal directories.