On Saturday 24 November 2001 12:35 pm, aman raheja wrote:
> hi all
> i have configured ipchains on my linux 7.1 box.
> the 3 rules (in order) do the following
> 1> accept src 0.0.0.0/0 port * dst hostA port 22
> 2> accept src hostA port 22 dst 0.0.0.0/0 port *
> 3> deny src 0.0.0.0/0 port * dst 0.0.0.0/0 port *
> I intend to allow ssh on hostA, and deny everything else.
> It works but it takes too long for the connection to establish even when =
> I
> am doing ssh from hostA to hostA itself. I wonder why?
> Suggestions?
> Aman
>
sounds like a name resolution delay, try adding the ip and name of your host
into the /etc/hosts, or try ssh'ing to 127.0.0.1 or something, if it's fast
then that's the problem