Difference between revisions of "SSH Security Settings"

From IVS Wiki
Jump to: navigation, search
 
Line 3: Line 3:
 
# Scroll to the bottom of the file.
 
# Scroll to the bottom of the file.
 
# Add the following lines:
 
# Add the following lines:
<pre>Ciphers aes128-ctr,aes192-ctr,aes256-ctr
+
#<pre>Ciphers aes128-ctr,aes192-ctr,aes256-ctr
 
MACs hmac-sha1,umac-64@openssh.com,hmac-ripemd160</pre>
 
MACs hmac-sha1,umac-64@openssh.com,hmac-ripemd160</pre>
 
# Type '''CTRL-X''' and then press Enter to exit.
 
# Type '''CTRL-X''' and then press Enter to exit.

Latest revision as of 11:12, 24 April 2019

  1. Connect to the server via SSH or access the shell on the console.
  2. Type in the following, and then press Enter:
    sudo nano /etc/ssh/sshd_conf
  3. Scroll to the bottom of the file.
  4. Add the following lines:
  5. Ciphers aes128-ctr,aes192-ctr,aes256-ctr
MACs hmac-sha1,umac-64@openssh.com,hmac-ripemd160
  1. Type CTRL-X and then press Enter to exit.
  2. Enter Y to save changes.
  3. Do not change the name of the file, and press Enter to save.
  4. Type in the following, and then press Enter:
    sudo service ssh restart