Difference between revisions of "SSH Security Settings"

From IVS Wiki
Jump to: navigation, search
(Created page with "# Connect to the server via SSH or access the shell on the console. # Type '''sudo nano /etc/ssh/sshd_conf''' # Scroll to the bottom of the file. # Add the following lines: #:...")
 
Line 8: Line 8:
 
# Enter '''Y''' to save changes
 
# Enter '''Y''' to save changes
 
# Do not change the name of the file and press enter to save.
 
# Do not change the name of the file and press enter to save.
 +
# Type '''sudo service ssh restart'''

Revision as of 11:19, 3 January 2018

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