Thread: openssh 3.5
View Single Post

   
  #4 (permalink)  
Old 04-21-2008, 05:46 AM
garbage.bin@gmail.com
 
Posts: n/a
Default Re: openssh 3.5

ThreeStar <sco@3starsoftware.com> wrote in
news:e0de8699-94c9-4fa7-be93-d503ede5da6a@c19g2000prf.googlegroups.com:

> On Apr 16, 8:26 pm, garbage....@gmail.com wrote:
>> Jean-Pierre Radley <j...@jpr.com> wrote
>> innews:20080410163408.GD2905@jpradley.jpr.com:
>>
>>
>>
>> > garbage....@gmail.com typed (on Thu, Apr 10, 2008 at 06:52:10AM
>> > -0500):
>> >| I am having issues with ssh sessions timing
>> >| out/freezeing/disconnecting after inactivity on 5.0.6 with openssh
>> >| 3.5, the google community mentions to add to sshd_config the
>> >| following directive, but my feeling is that openssh 3.5 probably
>> >| does not support it.
>> >|
>> >| ClientAliveInterval 60
>> >|
>> >| My question being, does a more recent version of openssh exist for
>> >| 5.0.6., my skills at compiling and whatnot are very limitted.

>>
>> > In the openssh4osr5 tarball at ftp.jpr.com you can read:

>>
>> > README for installing JPRadley's binaries for OSR
>> > 5.0.[4567]
>> > of prngd version 0.9.29 of Jul 13, 2004
>> > and OpenSSH version 4.5p1 of Nov 7, 2006
>> > built using OpenSSL version 0.9.8d of Sep 28, 2006.

>>
>> JP (and others),
>>
>> Could that version of openssh have problems with long filenames
>> (including full path) when connecting with an SFTP client?
>>
>> Thinking that my initial client (WinSCP) was buggy, I went and tried
>> 3 other SFTP clients, they all do not list long filenames (path
>> included as when I move the file downpath, they end up showing
>> depending on as yet undetermined magic path/filename length).
>>
>> After having tried a few clients and played around with different
>> filename lengths, I am sure the problem doesn't reside on the client
>> side as they all get the same results.
>>
>> Maybe I'm barking up the wrong tree as my experience with
>> SSH/SSL/SFTP and whatnot is limitted.
>>
>> One thing for sure, depending on where the file resides in the path
>> and how long the filename is, determines if it shows up on an SFTP
>> list.
>>
>> This was observed connected as root

>
>
> If I remember correctly there is a maximum path name in OpenServer
> prior to 5.0.7, something like 255 bytes. Actually that may be a
> /bin/sh limitation rather than a kernel limitation.
>
> You can't change root's shell on OpenServer without breaking things
> (and you shouldn't be using the root account for SCP anyway). Set up
> another user with a different shell (perhaps /bin/ksh or /bin/bash)
> and try it. No guarantees, though.
>
>


What I observed seemed to be around 60 characters or so, path included.

I will consider trying your suggestions for what it's worth.

Thanks
Joe
Reply With Quote