Discover Packages
github.com/ashishaffinion/sftp
examples
sftp-server
command
Version:
v0.0.0-...-823c0a2
Opens a new window with list of versions in this module.
Published: Aug 26, 2019
License: BSD-2-Clause
Opens a new window with license information.
Imports: 9
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.