Useful Snippets

Welcome!


This blog is used to collect useful snippets related to Linux, PHP, MySQL and more. Feel free to post comments with improvements or questions!

RSS Latest posts from my personal blog


Most viewed posts


Subscribe to RSS feed


Enable zlib compression in sshd on CentOS

Stanislav KhromovStanislav Khromov

Edit the sshd config:

vi /etc/ssh/sshd_config

Find the line:

#Compression delayed

Change it to

Compression yes

Reboot the server. (Restarting sshd is not enough)

Web Developer at Aftonbladet (Schibsted Media Group)
Any opinions on this blog are my own and do not reflect the views of my employer.
LinkedIn
Twitter
WordPress.org Profile
Visit my other blog

Comments 2
  • Jackwin Tung
    Posted on

    Jackwin Tung Jackwin Tung

    Reply Author

    Thank you!
    It really speed up my ssh connection.


  • Joshua
    Posted on

    Joshua Joshua

    Reply Author

    Thank you, this solves my server delay problem.