ssh server cipher set
On the SSH Server (/etc/ssh/sshd_config
):
Ciphers aes256-gcm@openssh.com,chacha20-poly1305@openssh.com
On the SSH Client (~/.ssh/config or /etc/ssh/ssh_config):
Host remote-server
Ciphers aes256-gcm@openssh.com,chacha20-poly1305@openssh.com
chacha20-poly1305
, but the client requests aes128-ctr
, the client must use the server's allowed cipher.aes256-ctr,aes128-ctr
and the client requests aes128-ctr
first, then aes128-ctr
will be used.