up
This commit is contained in:
parent
650a35d2f6
commit
c006b7d8f9
4
main.go
4
main.go
@ -264,10 +264,10 @@ func startHTTP() {
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
// SFTP sur 2222 (root = ./upload)
|
// SFTP sur 2222 (root = ./upload)
|
||||||
|
go startSFTPServer(SFTPBaseDir)
|
||||||
// HTTP normal
|
// HTTP normal
|
||||||
startHTTP()
|
startHTTP()
|
||||||
go startSFTPServer(SFTPBaseDir)
|
|
||||||
|
|
||||||
}
|
}
|
||||||
func loadOrCreateRSAHostKey(path string) (ssh.Signer, error) {
|
func loadOrCreateRSAHostKey(path string) (ssh.Signer, error) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user