- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for AddHostKey (0.08 sec)
-
cmd/sftp-server.go
PublicKeyCallback: sshPubKeyAuth, } if !disablePassAuth { sshConfig.PasswordCallback = sshPasswordAuth } else { sshConfig.PasswordCallback = nil } sshConfig.AddHostKey(private) handleSFTPSession := func(channel ssh.Channel, sconn *ssh.ServerConn) { server := sftp.NewRequestServer(channel, NewSFTPDriver(sconn.Permissions), sftp.WithRSAllocator()) defer server.Close()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 20 20:00:29 UTC 2024 - 16K bytes - Viewed (0)