2017年7月10日 星期一

[RPi] How to speed up X11 forwarding in SSH

還沒有明顯的差距, 但先紀錄一下幾個方法或是方向應該是有用的

1. 超頻
force_turbo=1

2. 關掉 X-Server

3. 用比較簡單的 cipher
ssh -X -c arcfour pi@192.168.2.2

需要先安裝 libgcrypt20-dev
並且修改 /etc/ssh/sshd_config
ciphers         arcfour,blowfish-cbc

4. 壓縮(或是不壓縮) ==> 眾說紛紜
不過實際測試, 壓縮比較悲劇


參考資料:
* http://xmodulo.com/how-to-speed-up-x11-forwarding-in-ssh.html
* https://serverfault.com/questions/116875/how-can-i-disable-encryption-on-openssh
* https://www.devolve.net/blog/2014/03/27/raspberry-pi-ssh-cipher-speed/



沒有留言: