err. Maybe it's me but to answer his original question - it's more
than likely a DNS lookup issue.
Have a look in /etc/ssh/sshd_config and add in:
UseDNS no
restart the sshd daemon with a kill -HUP command and you should have
no problems.
Alternatively, you could fix your dns lookup issues..
Cheers - nick
On 4 May 2007, at 14:06, Fred Crowson wrote:
Tang Tse wrote:
Thanks for the answear,
Is it secure to open DNS ports to outside world? Or you mean to
open open
outgoing DNS conections? If i want to redirect incomming ssh
connections
from internet to some inside server, should i open DNS incoming?
Thanks!!
Not necessarily - but how about a rule like:
pass out on $ext_if proto { tcp, udp } from any to $my_nameserver \
port 53 keep state
HTH
Fred
PS http://home.nuug.no/~peter/pf/ is well worth reading
--
http://www.crowsons.net/puters/x41.php