Skip to main content

SSH slowness

For those experiencing SSH slowness, you might want to take note of the following:

 If you are getting sluggish response in getting the login prompt, it might be due to the fact the the SSH server is trying to perform a reverse lookout on host your are initiating traffic from. Check to confirm it any firewall rules that might be preventing the ssh host from doing a reverse lookup. That might save you sometime to perform a thorough troubleshooting :)

Alternatively, you can just go to edit the sshd config file as follow:

sudo  vi /etc/ssh/sshd_config

comment out UseDNS  as per follow:

#UseDNS yes

and restart the ssh daemon

sudo service sshd restart

or

sudo systemctl restart sshd.


Happy SSH :)

Comments

Popular posts from this blog

Install Google Playstore on Pendo Pad 4.0 and rooting the device.

Coles selling the Pendo 7" Android Pad running Ice Cream Sandwich 4.03, however by default it does not come with Google Play Store. Rather it has the China "store" GetJar, which only have limited Apps available. In order to get the  Google Play store install on device. Firstly you have to root the device to gain root access. 1. Download unlockroot from : www.unlockroot.com/ 2. Connect the device to a windows PC, install and run the program. Make sure window machine has the necessary driver to access android pad.  If device driver is not available. Download and install the driver from: http://developer.android.com/tools/extras/oem-usb.html Make sure set the android device to USB Debugging mode to allow the unlockroot to root the device: Enable the USB debugging mode from : Setting -> Developer Options -> USB debugging Click on Root to root the device. After that, install the google play store by downloading it and transfer it to

Linux command to install software for various Distro

Ubuntu (*buntu, Mint linux) Apt-get install apt-get update apt-get remove apt-get dist-upgrade apt-get purge Fedora/RHEL/CentOS yum install yum update yum remove Opensuse yast2 --install yast2 --remove zypper update Freebsd  pkg_add pkg_delete Gentoo emerge package # Install emerge -C package # Remove a package emerge -s keyword # Search for packages (package names only) emerge -u package # update the package Arch pacman -U package.pkg.tar.xz # Local package install pacman -Syy # Refresh package databases pacman -Syu # Update installed packages pacman -S package # Install package pacman -R package # Remove package