Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 2
    for SSH server it will be in /etc/ssh/sshd_config and for the SSH client it will be in /etc/ssh/ssh_config. You want to look for the Cipher line in each, and for example have just Cipher aes256-ctr specified. Then restart SSH via /etc/init.d/sshd restart or via the equivalent systemd command. Commented Dec 5, 2018 at 18:58
  • 1
    you want to become knowledgeable about all the parameters in sshd_config if you really care about SSH security, otherwise it can be all security theater. Commented Dec 5, 2018 at 19:09
  • @ron the second comment is an intriguing one, can you illustrate with an example what you intend? Commented Dec 12, 2018 at 12:26
  • 1
    the ciphers list is just one setting out of many for having SSH properly implemented... Protocol, PermitRootLogin, AuthorizedKeysFile, PermitEmptyPasswords, IgnoreRhosts, PermitTunnel, and so on. You can rely on their default settings as implemented in your linux distribution, but Ignornance is bliss only up until you have a problem Commented Dec 12, 2018 at 16:29