Discover Packages
github.com/bhoflack/sftp
examples
go-sftp-server
command
Version:
v1.10.0
Opens a new window with list of versions in this module.
Published: Feb 5, 2019
License: BSD-2-Clause
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Example SFTP server implementation
In order to use this example you will need an RSA key.
On linux-like systems with openssh installed, you can use the command:
ssh-keygen -t rsa -f id_rsa
Then you will be able to run the sftp-server command in the current directory.
Expand ▾
Collapse ▴
Documentation
¶
An example SFTP server implementation using the golang SSH package.
Serves the whole filesystem visible to the user, and has a hard-coded username and password,
so not for real use!
Source Files
¶
Click to show internal directories.
Click to hide internal directories.