loading...
Cover image for Linux SSH Session Is Slow

Linux SSH Session Is Slow

izshreyansh profile image Shreyansh Panchal Updated on ・1 min read

This post is for you if you've run into the problem where your ssh session is painfully slow despite the fact that there free resources available on your machine.

First thing you want to check is latency to your server from your development machine. You can do that by ping or trace route. If you find that Latency is in-fact your issue. We can slightly improve by disabling Reverse DNS Lookup by server. Here's a full argument in favor of disabling reverse dns lookup.

How to do it?
You should head over to sshd_config file.
Add this key to your file UseDNS no.

You might have to disconnect from your ssh & reconnect again in-order to see the changes.

I hope it helps :)

Posted on Jun 1 by:

izshreyansh profile

Shreyansh Panchal

@izshreyansh

Full stack php developer. #laravel #vue

Discussion

markdown guide