restic/vendor/github.com/pkg/sftp/examples/sftp-server/README.md

13 lines
284 B
Markdown
Raw Normal View History

2017-07-23 12:24:45 +00:00
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.