|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Slow SSH login
Hi all,
I have OpenBSD 5.1 installed in VMware and when I try to login into OpenBSD via SSH from a Windows 7 machine, it is taking almost 2 minutes before the password is prompted. The error message that I am receiving is: Server refused keyboard-interactive authentication Can anyone help me fix this issue? Thanks in advance. |
|
||||
Hello, and welcome!
Slow initial login via SSH is a very common issue, so common it is described in the OpenBSD FAQ, section 8.22: Reverse DNS, or Why is it taking so long for me to log in? While there is no guarantee that your DNS configuration is the problem... it is a 99%+ probability. See if the /etc/hosts recommendation in the FAQ resolves the problem for you. |
|
|||
The delay of 2 minutes is caused because the OpenBSD SSH does a double reverse name lookup of the IP address that is connecting to it. See https://en.wikipedia.org/wiki/Double-reverse_DNS
There are several ways of fixing this:
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
Thanks for the replies. It was a DNS issue. I added some lines to /etc/hosts and the issue has been resolved.
Last edited by flit; 16th May 2013 at 08:39 PM. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Anonymous Ftp is too slow | daemonfowl | OpenBSD General | 25 | 4th August 2012 12:50 AM |
Does anyone know why Gnome is so slow on BSD? | TerryP | General software and network | 11 | 27th August 2010 06:06 PM |
Why is FreeBSD dd so slow? | sharris | FreeBSD General | 10 | 18th June 2010 08:33 AM |
slow io from hdd | knasbas | OpenBSD General | 3 | 25th July 2009 02:51 AM |
How to set up ssh login | cssgalactic | FreeBSD General | 12 | 28th June 2008 06:00 PM |