1 (edited by hannes 2009-03-11 09:27:33)

Topic: irregular connection problems (debian, mysecureshell 1.15)

since i have upgraded to the new mysecureshell release from the debian repository, my server requires ~30 retries each time before i can connect, which is very annoying - the rest of the time, filezilla reports "Fatal: unable to initialise SFTP on server: could not connect" (i am getting similar error messages with other SFTP clients).

the mysecureshell logfiles only show entries for successful logins.

i am not very experienced with linux, can you give me suggestions where else to look? i had to downgrade to 1.0 which works fine - is that a security risk?

Re: irregular connection problems (debian, mysecureshell 1.15)

Hi,


MySecureShell 1.15 is only for bug fix (no security problem).

Maybe you can provide more informations ? Configuration of MySecureShell ? Which OS & version ? CPU ?

Thank you smile.

Re: irregular connection problems (debian, mysecureshell 1.15)

i run mysecureshell in a debian stable (lenny) xen domU, kernel 2.6.18-6-xen-686.

config:

<Default>
        GlobalDownload          0
        GlobalUpload            0
        Download                0
        Upload                  0
        StayAtHome              true    #limit client to his home
        VirtualChroot           true    #fake a chroot to the home account
        Home                    /sftp        #overrite home of the user but if you want you can use
        IdleTimeout             600
        ResolveIP               false   #resolve ip to dns
        IgnoreHidden            true    #treat all hidden files as if they don't exist
        HideNoAccess            true    #Hide file/directory which user has no access
        DefaultRights           0640 0750       #Set default rights for new file and new directory
        ShowLinksAsLinks        false   #show links as their destinations
        ConnectionMaxLife       1d      #limits connection lifetime to 1 day
        Charset                 "UTF-8"   #set charset of computer
</Default>

Re: irregular connection problems (debian, mysecureshell 1.15)

Hi,

Could you provide us some logs please.

Thanks

Re: irregular connection problems (debian, mysecureshell 1.15)

What logs? Mysecureshell only logs successful connections...

Re: irregular connection problems (debian, mysecureshell 1.15)

hannes wrote:

What logs? Mysecureshell only logs successful connections...

Could you try debug mode (need to recompil). And answer Teka's questions please to help us more locating your problem.

Thanks