mirror of
https://github.com/cirruslabs/orchard.git
synced 2026-10-21 10:45:25 +02:00
orchard controller run: introduce --insecure-ssh-no-client-auth (#187)
This commit is contained in:
@@ -27,10 +27,11 @@ func WithTLSConfig(tlsConfig *tls.Config) Option {
|
||||
}
|
||||
}
|
||||
|
||||
func WithSSHServer(listenAddr string, signer ssh.Signer) Option {
|
||||
func WithSSHServer(listenAddr string, signer ssh.Signer, noClientAuth bool) Option {
|
||||
return func(controller *Controller) {
|
||||
controller.sshListenAddr = listenAddr
|
||||
controller.sshSigner = signer
|
||||
controller.sshNoClientAuth = noClientAuth
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user