简体   繁体   中英

Raspberry Pi SSH lag slowness

I am experiencing issues with the Pi, when I try to work on the Pi trough SSH I suddenly get lageness. At the beginning it works fine, but intermittently the auto-complete or commands on the history take a long time to load and that affects the typing.

How can I find out what is doing this?

Reading around I found that could be an issue with network, the SD card R/W speeds or even the SSH configuration itself, nothing that I tried of what I found around worked for me which was quite disappointing.

I don't know which the problem was exactly on my case.

I found a solution for me thanks to that several time my SSH session dropped an this is particularly painful If on the middle of running a command, so i decided to look for a way to keep session alive independently I found tmux. Which no only allowed me to keep session alive but it improved my ssh response, I read that mosh would do the same but I decided to go with tmux which work perfectly for me.

I had the same SSH lag problem in terminal. This solution helped me:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM