github.com/pkg/sftp@v1.13.6/examples/go-sftp-server/README.md (about) 1 Example SFTP server implementation 2 === 3 4 In order to use this example you will need an RSA key. 5 6 On linux-like systems with openssh installed, you can use the command: 7 8 ``` 9 ssh-keygen -t rsa -f id_rsa 10 ``` 11 12 Then you will be able to run the sftp-server command in the current directory.