Posts Tagged ‘SSH’

XenServer 5.6: Add /var/log/btmp to logrotate

Warning: Since a large /var/log/btmp could indicate that somebody is running brute force attacks against your system, you should at least think about changing the ssh port or setting up tools like DenyHosts or Fail2Ban (see here for more information about preventing ssh brute force attacks). By default logrotate seems not be configured for the […]

Read more…

Ubuntu: Fix slow ssh logins

Slow SSH logins could be caused by DNS lookup on the server side. If it takes (too) long time to be prompted for a password the option UseDNS could by a solution (as suggested in the OpenSSH FAQ). On Ubuntu edit the file /etc/ssh/sshd_config and add the following line: UseDNS noUseDNS no Restart the SSH […]

Read more…