Long delay when connecting to server via ssh

Posted on 2009-02-09
Last Modified: 2013-12-27
I am installing IP Filters on a Solaris 9 Sun server.  

The initial connetion to the server is extremely slow.  After getting the username prompt, there is a 45+ second delay (DNS??) with the connection returning a password prompt.

I have the following in my IP Filters configuration file:

block in log on bge0 all
block in log on bge1 all
pass out quick all

block in quick proto tcp from any to any port = 23
pass in quick from any to any port = 22
pass in quick from any to any port = 53

Any suggestions on improving connection response time?
Question by:aewhale
    LVL 23

    Expert Comment

    What tool(s) do you have that might let you run a detailed packet-level trace on this?

    Author Comment

    Snoop on Solaris says that the packets go out.

    Wireshark on the Linux box indicates that they never arrive.

    Accepted Solution


    changing pass out all to
    pass out all keep state
    enable dns lookups.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Suggested Solutions

    Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
    Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

    730 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now