You are not logged in.
Since a month or so, I have a VPS-server that I use as my own private cloud server.
I use SSH to connect to this server for shell access and file transfers (sftp and scp).
Sometimes a keypress on the local keyboard takes a long time before it is sent to the server and become visible on the local display (the console or a window on the desktop). In the worst situation this can even take longer than 20 seconds.
The same happens when transferring files. Sometimes a file takes a very long time before it is transferred.
I've noticed that when this happens, reloading a webpage once or twice helps. The webpage doesn't have to be on the same server as the one SSH is connected to. Yes, it was me who generated a lot of pageviews on Archlinux' Wiki
It looks as if my computer, router of maybe the wifi-module is temporary blocking the SSH-traffic waiting for more traffic.
The SSH-connection is also not disconnected, because I am not asked to reauthenticate with a password and/or public key.
The trick I'm using now (and which works well), is listening to an online radio station while I'm doing something through an SSH-connection to this server.
This is of course a workaround and I'm looking for a real solution.
Last edited by eric (2015-05-24 00:22:48)
Offline
Do you have ssh access to some other server? If yes, then see if the behaviour can be replicated there. Alternatively, try accessing a machine on your LAN using ssh.
Offline
Do you have ssh access to some other server? If yes, then see if the behaviour can be replicated there. Alternatively, try accessing a machine on your LAN using ssh.
I see the same issue after opening an SSH-connection to my Android phone connected to the same home router. Also downloading a 22MB file to the phone from the desktop is slow or will stall after 20% or so.
After some trial and error, it turned out that some bitrates were causing the slow or stalling download and probably also the SSH-issue of the first posting. I have set the WiFi-connection of the desktop computer to only use the good bitrates with the command
iw wlan0 set bitrates legacy-2.4 [bitrates]
(using 'iwconfig wlan0 rate [bitrate] fixed' may also be possible) and have not see this SSH-issue since.
So it looks like a WiFi-issue (instead of an SSH-issue) during downloads from my computer. I probably never noticed this issue because if I download it's almost always downloading TO my computer.
Thanks for the help
Last edited by eric (2015-05-23 14:06:40)
Offline
Please don't use "CLOSED" in the topic title -- this is used when a topic is locked. Use "SOLVED" instead.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline