Dear All,
What can be the problem with SFTP with listing the remote directory. The server1 is a FreeBSD 6.2 and server2 is a FreeBSD 4.11

FreeBSD 4.11:
 OpenSSH_3.5p1 FreeBSD-20030916 pat OpenSSH_3.*
FreeBSD 6.2:
 OpenSSH_4.5p1 FreeBSD-20061110, OpenSSL 0.9.8e 23 Feb 2007

Some test results:

1. from client to server1 via sftp
[EMAIL PROTECTED]> time sftp -b teszt server1
sftp> dir docs
....

0.016u 0.041s 0:30.82 0.1%      116+659k 0+0io 0pf+0w

2. from client to server1 via ssh
[EMAIL PROTECTED]> time ssh server ls docs
....
0.012u 0.025s 0:00.88 3.4%      216+1306k 0+0io 0pf+0w

3. from client to server2 via sftp
[EMAIL PROTECTED]> time sftp -b teszt server2
sftp> dir docs
....
0.032u 0.024s 0:00.53 9.4%      112+836k 0+0io 0pf+0w

4. from client to server2 via ssh
[EMAIL PROTECTED]> time ssh server2 ls docs
....
0.037u 0.000s 0:00.32 9.3%      144+802k 0+0io 0pf+0w

As you can see in the test 1: Directory listing took >30 seconds!

Client was  OpenSSH_4.5p1 but similar results with WinScp....

What can be the problem?

Thanks for any hints!

Janos Mohacsi
Network Engineer, Research Associate, Head of Network Planning and Projects
NIIF/HUNGARNET, HUNGARY
Key 70EF9882: DEC2 C685 1ED4 C95A 145F  4300 6F64 7B00 70EF 9882

Reply via email to