DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2009-11-12 00:25:01

mushisushi
Member
Registered: 2009-10-30
Posts: 33

Slow connection with SSH

Hello,

Sorry I have another question about the DNS-323.

I've install fun_plug and transmission, enabled ssh, and disabled telnet. However, when I try to SSH into the box, it takes a long time for it to pop up the password prompt. This happens in both putty and winscp.

Are there cerntain settings i need to change to make this work better?

Thanks,
Edward

Offline

 

#2 2010-04-06 16:26:54

Whistle Master
Member
Registered: 2010-01-21
Posts: 15

Re: Slow connection with SSH

Hi there !

Sorry to put up this old thread, but I noticed that I've got the same issue as described above... When I try to ssh to the DNS-323, there is a long delay before the password prompt.

I tried using sshd without and with inetd but same problem in both cases...

Do you guys have the same thing ?

# sshd -i
SSH-2.0-OpenSSH_5.2

Offline

 

#3 2010-04-06 17:52:47

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: Slow connection with SSH

Have you had a look at the sshd_config man page, UseDNS option?

Offline

 

#4 2010-04-06 18:21:55

Whistle Master
Member
Registered: 2010-01-21
Posts: 15

Re: Slow connection with SSH

Thank you very much fonz, I put UseDNS to no in sshd_config and now ssh connections are really fast ! smile

Offline

 

#5 2010-05-01 11:15:52

jejones3141
New member
Registered: 2010-05-01
Posts: 1

Re: Slow connection with SSH

First, many thanks to fonz; fun_plug has saved me from Samba and made it possible to copy files with colons in their names over to the DNS-323... but I fear I'm having speed issues with SSH, too, though with the speed of file copying rather than connection. I have a gigabit router, and gigabit ethernet on my computer. I observed data transfer rates of about 8.5 MB/s when I tried to copy over ~/Music to the 323 via Samba... but now, via ssh, when I copy over some of the directories that samba refused to copy for me, I'm seeing 1.5 MB/s. Admittedly, 8.5 isn't all that great, so there are, I hope, other things I should check independent of ssh vs. Samba, but OTOH a factor of around six difference is definitely significant. What settings should I be looking at to improve the speed of transfer?

Offline

 

#6 2010-05-01 11:53:56

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: Slow connection with SSH

Copying files via ssh is slow because the data is encrypted, which costs processor cycles, and the DNS doesn't have a very powerful processor. I think 1.5MB/sec is all you can get.
Maybe you can use ftp or nfs to transfer the files, or tar the files, copy them via samba, and untar on the box.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB