Slow Secure Shell Logins and FTP server connection

Slow Secure Shell Logins and FTP server connection

Post by Buff_ » Mon, 30 Jul 2001 10:13:05





> >John, sounds like you're trying to do reverse dns lookup and failing.



> >> Good day,

> >> Myself and one of my friends are both experiencing a problem that I
can't
> >> figure out.  My linux box is configured using two network cards and it
> >MASQs
> >> my win box and acts as a firewall.  When I login to my Linux box via
ssh
> >it
> >> takes an extremely long time to get a prompt up, also when I connect to
my
> >> ftp server it takes forever to get logged in and changing dirs takes
> >> forever.  My friend is having exactly the same problem, but oddly
enough I
> >> can log into his computer no problem as well as use his ftp server
> >normally.
> >> We are both using RedHat 7.0

> >> Any help would be greatly appreciated.

> >> Thank You

> Shed is on the right track, but the problem isn't as easy as all that.
> I had the same problem with rh7.1 and resolved most of it by starting a
> named server with full reverse lookup.  This fixes the very slow login
> connection time with both ftp and ssh clients.  But it doesn't address
> why change directories are slow with some ftp clients but not all ftp
> clients.

> The example I have is on a win98se box; ws-ftp95 (www.ipswitch.com)
> works as expected and ftp explorer (www.ftpx.com) is a slow dog on
> change directories.  This problem is new to rh7.1 (as far as I can
> tell).  I didn't see any of this with rh7.0, rh6.2, ...

> I'm still trying to figure this one out...  anybody else get to the
> bottom yet?

> Brad

> PS: I removed alt.2600.warez from the long list of newsgroups above...

> --
> Bradley W. Olin                          "do or do not, there is no try"
> http://home.socal.rr.com/six6guy                                    Yoda

I'm using mandrake 7.2 and have the same problem too, I have found when I
disable DNS I can connect straight away using ssh or ftp. But then of course
my linux box can't resolve internet ip's...... :( Would be keen to know how
to setup DNS with ip MASQ properly.

Regards
Bevan Williamson

 
 
 

Slow Secure Shell Logins and FTP server connection

Post by Buff_ » Mon, 30 Jul 2001 16:55:44


talked to a friend who helped me..... just needed to add my LAN ip's to
/etc/hosts





> > >John, sounds like you're trying to do reverse dns lookup and failing.



> > >> Good day,

> > >> Myself and one of my friends are both experiencing a problem that I
> can't
> > >> figure out.  My linux box is configured using two network cards and
it
> > >MASQs
> > >> my win box and acts as a firewall.  When I login to my Linux box via
> ssh
> > >it
> > >> takes an extremely long time to get a prompt up, also when I connect
to
> my
> > >> ftp server it takes forever to get logged in and changing dirs takes
> > >> forever.  My friend is having exactly the same problem, but oddly
> enough I
> > >> can log into his computer no problem as well as use his ftp server
> > >normally.
> > >> We are both using RedHat 7.0

> > >> Any help would be greatly appreciated.

> > >> Thank You

> > Shed is on the right track, but the problem isn't as easy as all that.
> > I had the same problem with rh7.1 and resolved most of it by starting a
> > named server with full reverse lookup.  This fixes the very slow login
> > connection time with both ftp and ssh clients.  But it doesn't address
> > why change directories are slow with some ftp clients but not all ftp
> > clients.

> > The example I have is on a win98se box; ws-ftp95 (www.ipswitch.com)
> > works as expected and ftp explorer (www.ftpx.com) is a slow dog on
> > change directories.  This problem is new to rh7.1 (as far as I can
> > tell).  I didn't see any of this with rh7.0, rh6.2, ...

> > I'm still trying to figure this one out...  anybody else get to the
> > bottom yet?

> > Brad

> > PS: I removed alt.2600.warez from the long list of newsgroups above...

> > --
> > Bradley W. Olin                          "do or do not, there is no try"
> > http://home.socal.rr.com/six6guy                                    Yoda

> I'm using mandrake 7.2 and have the same problem too, I have found when I
> disable DNS I can connect straight away using ssh or ftp. But then of
course
> my linux box can't resolve internet ip's...... :( Would be keen to know
how
> to setup DNS with ip MASQ properly.

> Regards
> Bevan Williamson


 
 
 

Slow Secure Shell Logins and FTP server connection

Post by John Blaz » Mon, 30 Jul 2001 23:33:56


After spending 10 mins really thinking about this problem, I came up with
the same answer and sure enough it works.

Thank You


> talked to a friend who helped me..... just needed to add my LAN ip's to
> /etc/hosts






> > > >John, sounds like you're trying to do reverse dns lookup and failing.



> > > >> Good day,

> > > >> Myself and one of my friends are both experiencing a problem that I
> > can't
> > > >> figure out.  My linux box is configured using two network cards and
> it
> > > >MASQs
> > > >> my win box and acts as a firewall.  When I login to my Linux box
via
> > ssh
> > > >it
> > > >> takes an extremely long time to get a prompt up, also when I
connect
> to
> > my
> > > >> ftp server it takes forever to get logged in and changing dirs
takes
> > > >> forever.  My friend is having exactly the same problem, but oddly
> > enough I
> > > >> can log into his computer no problem as well as use his ftp server
> > > >normally.
> > > >> We are both using RedHat 7.0

> > > >> Any help would be greatly appreciated.

> > > >> Thank You

> > > Shed is on the right track, but the problem isn't as easy as all that.
> > > I had the same problem with rh7.1 and resolved most of it by starting
a
> > > named server with full reverse lookup.  This fixes the very slow login
> > > connection time with both ftp and ssh clients.  But it doesn't address
> > > why change directories are slow with some ftp clients but not all ftp
> > > clients.

> > > The example I have is on a win98se box; ws-ftp95 (www.ipswitch.com)
> > > works as expected and ftp explorer (www.ftpx.com) is a slow dog on
> > > change directories.  This problem is new to rh7.1 (as far as I can
> > > tell).  I didn't see any of this with rh7.0, rh6.2, ...

> > > I'm still trying to figure this one out...  anybody else get to the
> > > bottom yet?

> > > Brad

> > > PS: I removed alt.2600.warez from the long list of newsgroups above...

> > > --
> > > Bradley W. Olin                          "do or do not, there is no
try"
> > > http://home.socal.rr.com/six6guy
Yoda

> > I'm using mandrake 7.2 and have the same problem too, I have found when
I
> > disable DNS I can connect straight away using ssh or ftp. But then of
> course
> > my linux box can't resolve internet ip's...... :( Would be keen to know
> how
> > to setup DNS with ip MASQ properly.

> > Regards
> > Bevan Williamson

 
 
 

Slow Secure Shell Logins and FTP server connection

Post by Alexey N. Solofnenk » Tue, 31 Jul 2001 13:32:54


Do you have firewall running on that computer?