Skip to content

Commit 73f844b

Browse files
committed
Remove RC4 based ciphers.
1 parent 20bbfb1 commit 73f844b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pkg/sshd/server.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ func Configure(cnf *Config) (*ssh.ServerConfig, error) {
9696
log.Debug("Parsed host key %s.", path)
9797
cfg.AddHostKey(hk)
9898
}
99+
cfg.Config.Ciphers = []string{"aes128-ctr","aes192-ctr","aes256-ctr","aes128-gcm@openssh.com"}
99100
return cfg, nil
100101
}
101102

0 commit comments

Comments
 (0)