You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Guillaume Nodet <gn...@gmail.com> on 2010/05/05 11:52:55 UTC

[VOTE] Release SSHD 0.4.0 (2nd try)

I've uploaded a RC for SSHD 0.4.0 at
  https://repository.apache.org/content/repositories/orgapachemina-008/

The release notes are available at
  https://cwiki.apache.org/SSHD/sshd-040.html

Please review and vote.

-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Re: [VOTE] Release SSHD 0.4.0 (2nd try)

Posted by Emmanuel Lecharny <el...@gmail.com>.
On 5/5/10 11:52 AM, Guillaume Nodet wrote:
> I've uploaded a RC for SSHD 0.4.0 at
>    https://repository.apache.org/content/repositories/orgapachemina-008/
>
> The release notes are available at
>    https://cwiki.apache.org/SSHD/sshd-040.html
>
> Please review and vote.
>
>    
+1


-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.nextury.com



[CANCEL] [VOTE] Release SSHD 0.4.0 (2nd try)

Posted by Guillaume Nodet <gn...@gmail.com>.
Btw, I also cancel this vote.  I'll upload a new candidate once everyone is
happy ;-)

On Wed, May 5, 2010 at 11:52, Guillaume Nodet <gn...@gmail.com> wrote:

> I've uploaded a RC for SSHD 0.4.0 at
>   https://repository.apache.org/content/repositories/orgapachemina-008/
>
> The release notes are available at
>   https://cwiki.apache.org/SSHD/sshd-040.html
>
> Please review and vote.
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> Open Source SOA
> http://fusesource.com
>
>
>


-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Re: [VOTE] Release SSHD 0.4.0 (2nd try)

Posted by Sai Pullabhotla <sa...@jmethods.com>.
Oh, by the way, it works fine for me with just putting (sending) the
path just once in the buffer. Tried with native sftp client on Ubuntu
Linux as well as Putty's SFTP command line client, which is what
FileZilla uses internally. I wonder why that does not work for you.

Regards,
Sai Pullabhotla





On Wed, May 5, 2010 at 10:49 AM, Sai Pullabhotla
<sa...@jmethods.com> wrote:
> How about the dates on the files?
>
> Regards,
> Sai Pullabhotla
>
>
>
>
>
> On Wed, May 5, 2010 at 10:13 AM, Guillaume Nodet <gn...@gmail.com> wrote:
>> Fixed, let me know if you find any other easily fixed issues.
>>
>> On Wed, May 5, 2010 at 16:41, Sai Pullabhotla
>> <sa...@jmethods.com>wrote:
>>
>>> I just noticed that the code checked in just replaces "\" with "/". I
>>> think for best compliance on all operating systems and file systems,
>>> it should replace File.separatorChar with "/". Not sure if there are
>>> any file systems that use a separator other than "/" and "\".
>>>
>>> Regards,
>>> Sai Pullabhotla
>>>
>>>
>>>
>>>
>>>
>>> On Wed, May 5, 2010 at 9:22 AM, Guillaume Nodet <gn...@gmail.com> wrote:
>>> > I've committed the changes.  Could you give a try ?
>>> >
>>> > On Wed, May 5, 2010 at 16:20, Guillaume Nodet <gn...@gmail.com> wrote:
>>> >
>>> >> Removing the second string works with FileZilla but fails with the sftp
>>> >> command line utility.
>>> >>
>>> >>
>>> >> On Wed, May 5, 2010 at 16:13, Guillaume Nodet <gn...@gmail.com> wrote:
>>> >>
>>> >>> Yeah, that's what I'm trying.
>>> >>> Let me try with removing the double name though.
>>> >>>
>>> >>>
>>> >>> On Wed, May 5, 2010 at 15:50, Sai Pullabhotla <
>>> >>> sai.pullabhotla@jmethods.com> wrote:
>>> >>>
>>> >>>> How about something like this:
>>> >>>>
>>> >>>>    protected void sendAbsoluteName(int id, File file) throws
>>> IOException
>>> >>>> {
>>> >>>>        Buffer buffer = new Buffer();
>>> >>>>        buffer.putByte((byte) SSH_FXP_NAME);
>>> >>>>        buffer.putInt(id);
>>> >>>>        buffer.putInt(1);
>>> >>>>        String path = file.getPath();
>>> >>>>        if(File.separatorChar != '/') {
>>> >>>>            path = path.replace(File.separatorChar, '/');
>>> >>>>        }
>>> >>>>        if(path.charAt(0) != '/') {
>>> >>>>            path = '/' + path;
>>> >>>>        }
>>> >>>>        buffer.putString(path);
>>> >>>>        //buffer.putString(file.getPath());
>>> >>>>        writeAttrs(buffer, file);
>>> >>>>        send(buffer);
>>> >>>>    }
>>> >>>>
>>> >>>> Regards,
>>> >>>> Sai Pullabhotla
>>> >>>>
>>> >>>>
>>> >>>>
>>> >>>>
>>> >>>>
>>> >>>> On Wed, May 5, 2010 at 8:45 AM, Sai Pullabhotla
>>> >>>> <sa...@jmethods.com> wrote:
>>> >>>> > I removed the second call to place the path in the buffer and seems
>>> to
>>> >>>> > be working fine.
>>> >>>> >
>>> >>>> > Regards,
>>> >>>> > Sai Pullabhotla
>>> >>>> >
>>> >>>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> --
>>> >>> Cheers,
>>> >>> Guillaume Nodet
>>> >>> ------------------------
>>> >>> Blog: http://gnodet.blogspot.com/
>>> >>> ------------------------
>>> >>> Open Source SOA
>>> >>> http://fusesource.com
>>> >>>
>>> >>>
>>> >>>
>>> >>
>>> >>
>>> >> --
>>> >> Cheers,
>>> >> Guillaume Nodet
>>> >> ------------------------
>>> >> Blog: http://gnodet.blogspot.com/
>>> >> ------------------------
>>> >> Open Source SOA
>>> >> http://fusesource.com
>>> >>
>>> >>
>>> >>
>>> >
>>> >
>>> > --
>>> > Cheers,
>>> > Guillaume Nodet
>>> > ------------------------
>>> > Blog: http://gnodet.blogspot.com/
>>> > ------------------------
>>> > Open Source SOA
>>> > http://fusesource.com
>>> >
>>>
>>
>>
>>
>> --
>> Cheers,
>> Guillaume Nodet
>> ------------------------
>> Blog: http://gnodet.blogspot.com/
>> ------------------------
>> Open Source SOA
>> http://fusesource.com
>>
>

Re: [VOTE] Release SSHD 0.4.0 (2nd try)

Posted by Jeff Genender <jg...@apache.org>.
Gents,

Can we please change the topic of this email to a dev discussion... the [VOTE] in it is probably not appropriate since [VOTE] indicates a real vote.  Thanks!

Jeff

On May 5, 2010, at 10:43 AM, Sai Pullabhotla wrote:

> Okay, I see the fix for the dates, but they are still incorrect when
> the client interprets its. Couple of things -
> 
> I believe time should be on a 24 hour clock basis - so the format need
> to be changed to HH instead of hh.
> 
> The listing is not compatible with UNIX style listing. So files older
> than 6 months should show the year, but not the time. Files in the
> last 6 months should show time, but not year. Unless SFTP has a
> standard for the directory list format.
> 
> In essence, FileZilla shows a file that is modified in year 2006 as 2010.
> 
> There is some code in the FtpServer project that we may want to steal.
> It is org.apache.ftpserver.util.DateUtils.getUnixDate(long).
> 
> 
> Regards,
> Sai Pullabhotla
> 
> 
> 
> 
> 
> On Wed, May 5, 2010 at 11:15 AM, Guillaume Nodet <gn...@gmail.com> wrote:
>> Which dates ? I've fixed the "Jan 01 ..." thing if that's why you're
>> referring to.
>> But using filezilla, there are still things that we don't support, but i've
>> been able to download directories recursively without problems.
>> 
>> On Wed, May 5, 2010 at 17:49, Sai Pullabhotla
>> <sa...@jmethods.com>wrote:
>> 
>>> How about the dates on the files?
>>> 
>>> Regards,
>>> Sai Pullabhotla
>>> 
>>> 
>>> 
>>> 
>>> 
>>> On Wed, May 5, 2010 at 10:13 AM, Guillaume Nodet <gn...@gmail.com> wrote:
>>>> Fixed, let me know if you find any other easily fixed issues.
>>>> 
>>>> On Wed, May 5, 2010 at 16:41, Sai Pullabhotla
>>>> <sa...@jmethods.com>wrote:
>>>> 
>>>>> I just noticed that the code checked in just replaces "\" with "/". I
>>>>> think for best compliance on all operating systems and file systems,
>>>>> it should replace File.separatorChar with "/". Not sure if there are
>>>>> any file systems that use a separator other than "/" and "\".
>>>>> 
>>>>> Regards,
>>>>> Sai Pullabhotla
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> On Wed, May 5, 2010 at 9:22 AM, Guillaume Nodet <gn...@gmail.com>
>>> wrote:
>>>>>> I've committed the changes.  Could you give a try ?
>>>>>> 
>>>>>> On Wed, May 5, 2010 at 16:20, Guillaume Nodet <gn...@gmail.com>
>>> wrote:
>>>>>> 
>>>>>>> Removing the second string works with FileZilla but fails with the
>>> sftp
>>>>>>> command line utility.
>>>>>>> 
>>>>>>> 
>>>>>>> On Wed, May 5, 2010 at 16:13, Guillaume Nodet <gn...@gmail.com>
>>> wrote:
>>>>>>> 
>>>>>>>> Yeah, that's what I'm trying.
>>>>>>>> Let me try with removing the double name though.
>>>>>>>> 
>>>>>>>> 
>>>>>>>> On Wed, May 5, 2010 at 15:50, Sai Pullabhotla <
>>>>>>>> sai.pullabhotla@jmethods.com> wrote:
>>>>>>>> 
>>>>>>>>> How about something like this:
>>>>>>>>> 
>>>>>>>>>    protected void sendAbsoluteName(int id, File file) throws
>>>>> IOException
>>>>>>>>> {
>>>>>>>>>        Buffer buffer = new Buffer();
>>>>>>>>>        buffer.putByte((byte) SSH_FXP_NAME);
>>>>>>>>>        buffer.putInt(id);
>>>>>>>>>        buffer.putInt(1);
>>>>>>>>>        String path = file.getPath();
>>>>>>>>>        if(File.separatorChar != '/') {
>>>>>>>>>            path = path.replace(File.separatorChar, '/');
>>>>>>>>>        }
>>>>>>>>>        if(path.charAt(0) != '/') {
>>>>>>>>>            path = '/' + path;
>>>>>>>>>        }
>>>>>>>>>        buffer.putString(path);
>>>>>>>>>        //buffer.putString(file.getPath());
>>>>>>>>>        writeAttrs(buffer, file);
>>>>>>>>>        send(buffer);
>>>>>>>>>    }
>>>>>>>>> 
>>>>>>>>> Regards,
>>>>>>>>> Sai Pullabhotla
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> On Wed, May 5, 2010 at 8:45 AM, Sai Pullabhotla
>>>>>>>>> <sa...@jmethods.com> wrote:
>>>>>>>>>> I removed the second call to place the path in the buffer and
>>> seems
>>>>> to
>>>>>>>>>> be working fine.
>>>>>>>>>> 
>>>>>>>>>> Regards,
>>>>>>>>>> Sai Pullabhotla
>>>>>>>>>> 
>>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> --
>>>>>>>> Cheers,
>>>>>>>> Guillaume Nodet
>>>>>>>> ------------------------
>>>>>>>> Blog: http://gnodet.blogspot.com/
>>>>>>>> ------------------------
>>>>>>>> Open Source SOA
>>>>>>>> http://fusesource.com
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> --
>>>>>>> Cheers,
>>>>>>> Guillaume Nodet
>>>>>>> ------------------------
>>>>>>> Blog: http://gnodet.blogspot.com/
>>>>>>> ------------------------
>>>>>>> Open Source SOA
>>>>>>> http://fusesource.com
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> --
>>>>>> Cheers,
>>>>>> Guillaume Nodet
>>>>>> ------------------------
>>>>>> Blog: http://gnodet.blogspot.com/
>>>>>> ------------------------
>>>>>> Open Source SOA
>>>>>> http://fusesource.com
>>>>>> 
>>>>> 
>>>> 
>>>> 
>>>> 
>>>> --
>>>> Cheers,
>>>> Guillaume Nodet
>>>> ------------------------
>>>> Blog: http://gnodet.blogspot.com/
>>>> ------------------------
>>>> Open Source SOA
>>>> http://fusesource.com
>>>> 
>>> 
>> 
>> 
>> 
>> --
>> Cheers,
>> Guillaume Nodet
>> ------------------------
>> Blog: http://gnodet.blogspot.com/
>> ------------------------
>> Open Source SOA
>> http://fusesource.com
>> 


Re: [VOTE] Release SSHD 0.4.0 (2nd try)

Posted by Sai Pullabhotla <sa...@jmethods.com>.
Okay, I see the fix for the dates, but they are still incorrect when
the client interprets its. Couple of things -

I believe time should be on a 24 hour clock basis - so the format need
to be changed to HH instead of hh.

The listing is not compatible with UNIX style listing. So files older
than 6 months should show the year, but not the time. Files in the
last 6 months should show time, but not year. Unless SFTP has a
standard for the directory list format.

In essence, FileZilla shows a file that is modified in year 2006 as 2010.

There is some code in the FtpServer project that we may want to steal.
It is org.apache.ftpserver.util.DateUtils.getUnixDate(long).


Regards,
Sai Pullabhotla





On Wed, May 5, 2010 at 11:15 AM, Guillaume Nodet <gn...@gmail.com> wrote:
> Which dates ? I've fixed the "Jan 01 ..." thing if that's why you're
> referring to.
> But using filezilla, there are still things that we don't support, but i've
> been able to download directories recursively without problems.
>
> On Wed, May 5, 2010 at 17:49, Sai Pullabhotla
> <sa...@jmethods.com>wrote:
>
>> How about the dates on the files?
>>
>> Regards,
>> Sai Pullabhotla
>>
>>
>>
>>
>>
>> On Wed, May 5, 2010 at 10:13 AM, Guillaume Nodet <gn...@gmail.com> wrote:
>> > Fixed, let me know if you find any other easily fixed issues.
>> >
>> > On Wed, May 5, 2010 at 16:41, Sai Pullabhotla
>> > <sa...@jmethods.com>wrote:
>> >
>> >> I just noticed that the code checked in just replaces "\" with "/". I
>> >> think for best compliance on all operating systems and file systems,
>> >> it should replace File.separatorChar with "/". Not sure if there are
>> >> any file systems that use a separator other than "/" and "\".
>> >>
>> >> Regards,
>> >> Sai Pullabhotla
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> On Wed, May 5, 2010 at 9:22 AM, Guillaume Nodet <gn...@gmail.com>
>> wrote:
>> >> > I've committed the changes.  Could you give a try ?
>> >> >
>> >> > On Wed, May 5, 2010 at 16:20, Guillaume Nodet <gn...@gmail.com>
>> wrote:
>> >> >
>> >> >> Removing the second string works with FileZilla but fails with the
>> sftp
>> >> >> command line utility.
>> >> >>
>> >> >>
>> >> >> On Wed, May 5, 2010 at 16:13, Guillaume Nodet <gn...@gmail.com>
>> wrote:
>> >> >>
>> >> >>> Yeah, that's what I'm trying.
>> >> >>> Let me try with removing the double name though.
>> >> >>>
>> >> >>>
>> >> >>> On Wed, May 5, 2010 at 15:50, Sai Pullabhotla <
>> >> >>> sai.pullabhotla@jmethods.com> wrote:
>> >> >>>
>> >> >>>> How about something like this:
>> >> >>>>
>> >> >>>>    protected void sendAbsoluteName(int id, File file) throws
>> >> IOException
>> >> >>>> {
>> >> >>>>        Buffer buffer = new Buffer();
>> >> >>>>        buffer.putByte((byte) SSH_FXP_NAME);
>> >> >>>>        buffer.putInt(id);
>> >> >>>>        buffer.putInt(1);
>> >> >>>>        String path = file.getPath();
>> >> >>>>        if(File.separatorChar != '/') {
>> >> >>>>            path = path.replace(File.separatorChar, '/');
>> >> >>>>        }
>> >> >>>>        if(path.charAt(0) != '/') {
>> >> >>>>            path = '/' + path;
>> >> >>>>        }
>> >> >>>>        buffer.putString(path);
>> >> >>>>        //buffer.putString(file.getPath());
>> >> >>>>        writeAttrs(buffer, file);
>> >> >>>>        send(buffer);
>> >> >>>>    }
>> >> >>>>
>> >> >>>> Regards,
>> >> >>>> Sai Pullabhotla
>> >> >>>>
>> >> >>>>
>> >> >>>>
>> >> >>>>
>> >> >>>>
>> >> >>>> On Wed, May 5, 2010 at 8:45 AM, Sai Pullabhotla
>> >> >>>> <sa...@jmethods.com> wrote:
>> >> >>>> > I removed the second call to place the path in the buffer and
>> seems
>> >> to
>> >> >>>> > be working fine.
>> >> >>>> >
>> >> >>>> > Regards,
>> >> >>>> > Sai Pullabhotla
>> >> >>>> >
>> >> >>>>
>> >> >>>
>> >> >>>
>> >> >>>
>> >> >>> --
>> >> >>> Cheers,
>> >> >>> Guillaume Nodet
>> >> >>> ------------------------
>> >> >>> Blog: http://gnodet.blogspot.com/
>> >> >>> ------------------------
>> >> >>> Open Source SOA
>> >> >>> http://fusesource.com
>> >> >>>
>> >> >>>
>> >> >>>
>> >> >>
>> >> >>
>> >> >> --
>> >> >> Cheers,
>> >> >> Guillaume Nodet
>> >> >> ------------------------
>> >> >> Blog: http://gnodet.blogspot.com/
>> >> >> ------------------------
>> >> >> Open Source SOA
>> >> >> http://fusesource.com
>> >> >>
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >> > --
>> >> > Cheers,
>> >> > Guillaume Nodet
>> >> > ------------------------
>> >> > Blog: http://gnodet.blogspot.com/
>> >> > ------------------------
>> >> > Open Source SOA
>> >> > http://fusesource.com
>> >> >
>> >>
>> >
>> >
>> >
>> > --
>> > Cheers,
>> > Guillaume Nodet
>> > ------------------------
>> > Blog: http://gnodet.blogspot.com/
>> > ------------------------
>> > Open Source SOA
>> > http://fusesource.com
>> >
>>
>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> Open Source SOA
> http://fusesource.com
>

Re: [VOTE] Release SSHD 0.4.0 (2nd try)

Posted by Guillaume Nodet <gn...@gmail.com>.
Which dates ? I've fixed the "Jan 01 ..." thing if that's why you're
referring to.
But using filezilla, there are still things that we don't support, but i've
been able to download directories recursively without problems.

On Wed, May 5, 2010 at 17:49, Sai Pullabhotla
<sa...@jmethods.com>wrote:

> How about the dates on the files?
>
> Regards,
> Sai Pullabhotla
>
>
>
>
>
> On Wed, May 5, 2010 at 10:13 AM, Guillaume Nodet <gn...@gmail.com> wrote:
> > Fixed, let me know if you find any other easily fixed issues.
> >
> > On Wed, May 5, 2010 at 16:41, Sai Pullabhotla
> > <sa...@jmethods.com>wrote:
> >
> >> I just noticed that the code checked in just replaces "\" with "/". I
> >> think for best compliance on all operating systems and file systems,
> >> it should replace File.separatorChar with "/". Not sure if there are
> >> any file systems that use a separator other than "/" and "\".
> >>
> >> Regards,
> >> Sai Pullabhotla
> >>
> >>
> >>
> >>
> >>
> >> On Wed, May 5, 2010 at 9:22 AM, Guillaume Nodet <gn...@gmail.com>
> wrote:
> >> > I've committed the changes.  Could you give a try ?
> >> >
> >> > On Wed, May 5, 2010 at 16:20, Guillaume Nodet <gn...@gmail.com>
> wrote:
> >> >
> >> >> Removing the second string works with FileZilla but fails with the
> sftp
> >> >> command line utility.
> >> >>
> >> >>
> >> >> On Wed, May 5, 2010 at 16:13, Guillaume Nodet <gn...@gmail.com>
> wrote:
> >> >>
> >> >>> Yeah, that's what I'm trying.
> >> >>> Let me try with removing the double name though.
> >> >>>
> >> >>>
> >> >>> On Wed, May 5, 2010 at 15:50, Sai Pullabhotla <
> >> >>> sai.pullabhotla@jmethods.com> wrote:
> >> >>>
> >> >>>> How about something like this:
> >> >>>>
> >> >>>>    protected void sendAbsoluteName(int id, File file) throws
> >> IOException
> >> >>>> {
> >> >>>>        Buffer buffer = new Buffer();
> >> >>>>        buffer.putByte((byte) SSH_FXP_NAME);
> >> >>>>        buffer.putInt(id);
> >> >>>>        buffer.putInt(1);
> >> >>>>        String path = file.getPath();
> >> >>>>        if(File.separatorChar != '/') {
> >> >>>>            path = path.replace(File.separatorChar, '/');
> >> >>>>        }
> >> >>>>        if(path.charAt(0) != '/') {
> >> >>>>            path = '/' + path;
> >> >>>>        }
> >> >>>>        buffer.putString(path);
> >> >>>>        //buffer.putString(file.getPath());
> >> >>>>        writeAttrs(buffer, file);
> >> >>>>        send(buffer);
> >> >>>>    }
> >> >>>>
> >> >>>> Regards,
> >> >>>> Sai Pullabhotla
> >> >>>>
> >> >>>>
> >> >>>>
> >> >>>>
> >> >>>>
> >> >>>> On Wed, May 5, 2010 at 8:45 AM, Sai Pullabhotla
> >> >>>> <sa...@jmethods.com> wrote:
> >> >>>> > I removed the second call to place the path in the buffer and
> seems
> >> to
> >> >>>> > be working fine.
> >> >>>> >
> >> >>>> > Regards,
> >> >>>> > Sai Pullabhotla
> >> >>>> >
> >> >>>>
> >> >>>
> >> >>>
> >> >>>
> >> >>> --
> >> >>> Cheers,
> >> >>> Guillaume Nodet
> >> >>> ------------------------
> >> >>> Blog: http://gnodet.blogspot.com/
> >> >>> ------------------------
> >> >>> Open Source SOA
> >> >>> http://fusesource.com
> >> >>>
> >> >>>
> >> >>>
> >> >>
> >> >>
> >> >> --
> >> >> Cheers,
> >> >> Guillaume Nodet
> >> >> ------------------------
> >> >> Blog: http://gnodet.blogspot.com/
> >> >> ------------------------
> >> >> Open Source SOA
> >> >> http://fusesource.com
> >> >>
> >> >>
> >> >>
> >> >
> >> >
> >> > --
> >> > Cheers,
> >> > Guillaume Nodet
> >> > ------------------------
> >> > Blog: http://gnodet.blogspot.com/
> >> > ------------------------
> >> > Open Source SOA
> >> > http://fusesource.com
> >> >
> >>
> >
> >
> >
> > --
> > Cheers,
> > Guillaume Nodet
> > ------------------------
> > Blog: http://gnodet.blogspot.com/
> > ------------------------
> > Open Source SOA
> > http://fusesource.com
> >
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Re: [VOTE] Release SSHD 0.4.0 (2nd try)

Posted by Sai Pullabhotla <sa...@jmethods.com>.
How about the dates on the files?

Regards,
Sai Pullabhotla





On Wed, May 5, 2010 at 10:13 AM, Guillaume Nodet <gn...@gmail.com> wrote:
> Fixed, let me know if you find any other easily fixed issues.
>
> On Wed, May 5, 2010 at 16:41, Sai Pullabhotla
> <sa...@jmethods.com>wrote:
>
>> I just noticed that the code checked in just replaces "\" with "/". I
>> think for best compliance on all operating systems and file systems,
>> it should replace File.separatorChar with "/". Not sure if there are
>> any file systems that use a separator other than "/" and "\".
>>
>> Regards,
>> Sai Pullabhotla
>>
>>
>>
>>
>>
>> On Wed, May 5, 2010 at 9:22 AM, Guillaume Nodet <gn...@gmail.com> wrote:
>> > I've committed the changes.  Could you give a try ?
>> >
>> > On Wed, May 5, 2010 at 16:20, Guillaume Nodet <gn...@gmail.com> wrote:
>> >
>> >> Removing the second string works with FileZilla but fails with the sftp
>> >> command line utility.
>> >>
>> >>
>> >> On Wed, May 5, 2010 at 16:13, Guillaume Nodet <gn...@gmail.com> wrote:
>> >>
>> >>> Yeah, that's what I'm trying.
>> >>> Let me try with removing the double name though.
>> >>>
>> >>>
>> >>> On Wed, May 5, 2010 at 15:50, Sai Pullabhotla <
>> >>> sai.pullabhotla@jmethods.com> wrote:
>> >>>
>> >>>> How about something like this:
>> >>>>
>> >>>>    protected void sendAbsoluteName(int id, File file) throws
>> IOException
>> >>>> {
>> >>>>        Buffer buffer = new Buffer();
>> >>>>        buffer.putByte((byte) SSH_FXP_NAME);
>> >>>>        buffer.putInt(id);
>> >>>>        buffer.putInt(1);
>> >>>>        String path = file.getPath();
>> >>>>        if(File.separatorChar != '/') {
>> >>>>            path = path.replace(File.separatorChar, '/');
>> >>>>        }
>> >>>>        if(path.charAt(0) != '/') {
>> >>>>            path = '/' + path;
>> >>>>        }
>> >>>>        buffer.putString(path);
>> >>>>        //buffer.putString(file.getPath());
>> >>>>        writeAttrs(buffer, file);
>> >>>>        send(buffer);
>> >>>>    }
>> >>>>
>> >>>> Regards,
>> >>>> Sai Pullabhotla
>> >>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>> On Wed, May 5, 2010 at 8:45 AM, Sai Pullabhotla
>> >>>> <sa...@jmethods.com> wrote:
>> >>>> > I removed the second call to place the path in the buffer and seems
>> to
>> >>>> > be working fine.
>> >>>> >
>> >>>> > Regards,
>> >>>> > Sai Pullabhotla
>> >>>> >
>> >>>>
>> >>>
>> >>>
>> >>>
>> >>> --
>> >>> Cheers,
>> >>> Guillaume Nodet
>> >>> ------------------------
>> >>> Blog: http://gnodet.blogspot.com/
>> >>> ------------------------
>> >>> Open Source SOA
>> >>> http://fusesource.com
>> >>>
>> >>>
>> >>>
>> >>
>> >>
>> >> --
>> >> Cheers,
>> >> Guillaume Nodet
>> >> ------------------------
>> >> Blog: http://gnodet.blogspot.com/
>> >> ------------------------
>> >> Open Source SOA
>> >> http://fusesource.com
>> >>
>> >>
>> >>
>> >
>> >
>> > --
>> > Cheers,
>> > Guillaume Nodet
>> > ------------------------
>> > Blog: http://gnodet.blogspot.com/
>> > ------------------------
>> > Open Source SOA
>> > http://fusesource.com
>> >
>>
>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> Open Source SOA
> http://fusesource.com
>

Re: [VOTE] Release SSHD 0.4.0 (2nd try)

Posted by Guillaume Nodet <gn...@gmail.com>.
Fixed, let me know if you find any other easily fixed issues.

On Wed, May 5, 2010 at 16:41, Sai Pullabhotla
<sa...@jmethods.com>wrote:

> I just noticed that the code checked in just replaces "\" with "/". I
> think for best compliance on all operating systems and file systems,
> it should replace File.separatorChar with "/". Not sure if there are
> any file systems that use a separator other than "/" and "\".
>
> Regards,
> Sai Pullabhotla
>
>
>
>
>
> On Wed, May 5, 2010 at 9:22 AM, Guillaume Nodet <gn...@gmail.com> wrote:
> > I've committed the changes.  Could you give a try ?
> >
> > On Wed, May 5, 2010 at 16:20, Guillaume Nodet <gn...@gmail.com> wrote:
> >
> >> Removing the second string works with FileZilla but fails with the sftp
> >> command line utility.
> >>
> >>
> >> On Wed, May 5, 2010 at 16:13, Guillaume Nodet <gn...@gmail.com> wrote:
> >>
> >>> Yeah, that's what I'm trying.
> >>> Let me try with removing the double name though.
> >>>
> >>>
> >>> On Wed, May 5, 2010 at 15:50, Sai Pullabhotla <
> >>> sai.pullabhotla@jmethods.com> wrote:
> >>>
> >>>> How about something like this:
> >>>>
> >>>>    protected void sendAbsoluteName(int id, File file) throws
> IOException
> >>>> {
> >>>>        Buffer buffer = new Buffer();
> >>>>        buffer.putByte((byte) SSH_FXP_NAME);
> >>>>        buffer.putInt(id);
> >>>>        buffer.putInt(1);
> >>>>        String path = file.getPath();
> >>>>        if(File.separatorChar != '/') {
> >>>>            path = path.replace(File.separatorChar, '/');
> >>>>        }
> >>>>        if(path.charAt(0) != '/') {
> >>>>            path = '/' + path;
> >>>>        }
> >>>>        buffer.putString(path);
> >>>>        //buffer.putString(file.getPath());
> >>>>        writeAttrs(buffer, file);
> >>>>        send(buffer);
> >>>>    }
> >>>>
> >>>> Regards,
> >>>> Sai Pullabhotla
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> On Wed, May 5, 2010 at 8:45 AM, Sai Pullabhotla
> >>>> <sa...@jmethods.com> wrote:
> >>>> > I removed the second call to place the path in the buffer and seems
> to
> >>>> > be working fine.
> >>>> >
> >>>> > Regards,
> >>>> > Sai Pullabhotla
> >>>> >
> >>>>
> >>>
> >>>
> >>>
> >>> --
> >>> Cheers,
> >>> Guillaume Nodet
> >>> ------------------------
> >>> Blog: http://gnodet.blogspot.com/
> >>> ------------------------
> >>> Open Source SOA
> >>> http://fusesource.com
> >>>
> >>>
> >>>
> >>
> >>
> >> --
> >> Cheers,
> >> Guillaume Nodet
> >> ------------------------
> >> Blog: http://gnodet.blogspot.com/
> >> ------------------------
> >> Open Source SOA
> >> http://fusesource.com
> >>
> >>
> >>
> >
> >
> > --
> > Cheers,
> > Guillaume Nodet
> > ------------------------
> > Blog: http://gnodet.blogspot.com/
> > ------------------------
> > Open Source SOA
> > http://fusesource.com
> >
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Re: [VOTE] Release SSHD 0.4.0 (2nd try)

Posted by Guillaume Nodet <gn...@gmail.com>.
Haven't seen any such system, but i can easily change that, it will be
cleaner.

On Wed, May 5, 2010 at 16:41, Sai Pullabhotla
<sa...@jmethods.com>wrote:

> I just noticed that the code checked in just replaces "\" with "/". I
> think for best compliance on all operating systems and file systems,
> it should replace File.separatorChar with "/". Not sure if there are
> any file systems that use a separator other than "/" and "\".
>
> Regards,
> Sai Pullabhotla
>
>
>
>
>
> On Wed, May 5, 2010 at 9:22 AM, Guillaume Nodet <gn...@gmail.com> wrote:
> > I've committed the changes.  Could you give a try ?
> >
> > On Wed, May 5, 2010 at 16:20, Guillaume Nodet <gn...@gmail.com> wrote:
> >
> >> Removing the second string works with FileZilla but fails with the sftp
> >> command line utility.
> >>
> >>
> >> On Wed, May 5, 2010 at 16:13, Guillaume Nodet <gn...@gmail.com> wrote:
> >>
> >>> Yeah, that's what I'm trying.
> >>> Let me try with removing the double name though.
> >>>
> >>>
> >>> On Wed, May 5, 2010 at 15:50, Sai Pullabhotla <
> >>> sai.pullabhotla@jmethods.com> wrote:
> >>>
> >>>> How about something like this:
> >>>>
> >>>>    protected void sendAbsoluteName(int id, File file) throws
> IOException
> >>>> {
> >>>>        Buffer buffer = new Buffer();
> >>>>        buffer.putByte((byte) SSH_FXP_NAME);
> >>>>        buffer.putInt(id);
> >>>>        buffer.putInt(1);
> >>>>        String path = file.getPath();
> >>>>        if(File.separatorChar != '/') {
> >>>>            path = path.replace(File.separatorChar, '/');
> >>>>        }
> >>>>        if(path.charAt(0) != '/') {
> >>>>            path = '/' + path;
> >>>>        }
> >>>>        buffer.putString(path);
> >>>>        //buffer.putString(file.getPath());
> >>>>        writeAttrs(buffer, file);
> >>>>        send(buffer);
> >>>>    }
> >>>>
> >>>> Regards,
> >>>> Sai Pullabhotla
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> On Wed, May 5, 2010 at 8:45 AM, Sai Pullabhotla
> >>>> <sa...@jmethods.com> wrote:
> >>>> > I removed the second call to place the path in the buffer and seems
> to
> >>>> > be working fine.
> >>>> >
> >>>> > Regards,
> >>>> > Sai Pullabhotla
> >>>> >
> >>>>
> >>>
> >>>
> >>>
> >>> --
> >>> Cheers,
> >>> Guillaume Nodet
> >>> ------------------------
> >>> Blog: http://gnodet.blogspot.com/
> >>> ------------------------
> >>> Open Source SOA
> >>> http://fusesource.com
> >>>
> >>>
> >>>
> >>
> >>
> >> --
> >> Cheers,
> >> Guillaume Nodet
> >> ------------------------
> >> Blog: http://gnodet.blogspot.com/
> >> ------------------------
> >> Open Source SOA
> >> http://fusesource.com
> >>
> >>
> >>
> >
> >
> > --
> > Cheers,
> > Guillaume Nodet
> > ------------------------
> > Blog: http://gnodet.blogspot.com/
> > ------------------------
> > Open Source SOA
> > http://fusesource.com
> >
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Re: [VOTE] Release SSHD 0.4.0 (2nd try)

Posted by Sai Pullabhotla <sa...@jmethods.com>.
I just noticed that the code checked in just replaces "\" with "/". I
think for best compliance on all operating systems and file systems,
it should replace File.separatorChar with "/". Not sure if there are
any file systems that use a separator other than "/" and "\".

Regards,
Sai Pullabhotla





On Wed, May 5, 2010 at 9:22 AM, Guillaume Nodet <gn...@gmail.com> wrote:
> I've committed the changes.  Could you give a try ?
>
> On Wed, May 5, 2010 at 16:20, Guillaume Nodet <gn...@gmail.com> wrote:
>
>> Removing the second string works with FileZilla but fails with the sftp
>> command line utility.
>>
>>
>> On Wed, May 5, 2010 at 16:13, Guillaume Nodet <gn...@gmail.com> wrote:
>>
>>> Yeah, that's what I'm trying.
>>> Let me try with removing the double name though.
>>>
>>>
>>> On Wed, May 5, 2010 at 15:50, Sai Pullabhotla <
>>> sai.pullabhotla@jmethods.com> wrote:
>>>
>>>> How about something like this:
>>>>
>>>>    protected void sendAbsoluteName(int id, File file) throws IOException
>>>> {
>>>>        Buffer buffer = new Buffer();
>>>>        buffer.putByte((byte) SSH_FXP_NAME);
>>>>        buffer.putInt(id);
>>>>        buffer.putInt(1);
>>>>        String path = file.getPath();
>>>>        if(File.separatorChar != '/') {
>>>>            path = path.replace(File.separatorChar, '/');
>>>>        }
>>>>        if(path.charAt(0) != '/') {
>>>>            path = '/' + path;
>>>>        }
>>>>        buffer.putString(path);
>>>>        //buffer.putString(file.getPath());
>>>>        writeAttrs(buffer, file);
>>>>        send(buffer);
>>>>    }
>>>>
>>>> Regards,
>>>> Sai Pullabhotla
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Wed, May 5, 2010 at 8:45 AM, Sai Pullabhotla
>>>> <sa...@jmethods.com> wrote:
>>>> > I removed the second call to place the path in the buffer and seems to
>>>> > be working fine.
>>>> >
>>>> > Regards,
>>>> > Sai Pullabhotla
>>>> >
>>>>
>>>
>>>
>>>
>>> --
>>> Cheers,
>>> Guillaume Nodet
>>> ------------------------
>>> Blog: http://gnodet.blogspot.com/
>>> ------------------------
>>> Open Source SOA
>>> http://fusesource.com
>>>
>>>
>>>
>>
>>
>> --
>> Cheers,
>> Guillaume Nodet
>> ------------------------
>> Blog: http://gnodet.blogspot.com/
>> ------------------------
>> Open Source SOA
>> http://fusesource.com
>>
>>
>>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> Open Source SOA
> http://fusesource.com
>

Re: [VOTE] Release SSHD 0.4.0 (2nd try)

Posted by Guillaume Nodet <gn...@gmail.com>.
I've committed the changes.  Could you give a try ?

On Wed, May 5, 2010 at 16:20, Guillaume Nodet <gn...@gmail.com> wrote:

> Removing the second string works with FileZilla but fails with the sftp
> command line utility.
>
>
> On Wed, May 5, 2010 at 16:13, Guillaume Nodet <gn...@gmail.com> wrote:
>
>> Yeah, that's what I'm trying.
>> Let me try with removing the double name though.
>>
>>
>> On Wed, May 5, 2010 at 15:50, Sai Pullabhotla <
>> sai.pullabhotla@jmethods.com> wrote:
>>
>>> How about something like this:
>>>
>>>    protected void sendAbsoluteName(int id, File file) throws IOException
>>> {
>>>        Buffer buffer = new Buffer();
>>>        buffer.putByte((byte) SSH_FXP_NAME);
>>>        buffer.putInt(id);
>>>        buffer.putInt(1);
>>>        String path = file.getPath();
>>>        if(File.separatorChar != '/') {
>>>            path = path.replace(File.separatorChar, '/');
>>>        }
>>>        if(path.charAt(0) != '/') {
>>>            path = '/' + path;
>>>        }
>>>        buffer.putString(path);
>>>        //buffer.putString(file.getPath());
>>>        writeAttrs(buffer, file);
>>>        send(buffer);
>>>    }
>>>
>>> Regards,
>>> Sai Pullabhotla
>>>
>>>
>>>
>>>
>>>
>>> On Wed, May 5, 2010 at 8:45 AM, Sai Pullabhotla
>>> <sa...@jmethods.com> wrote:
>>> > I removed the second call to place the path in the buffer and seems to
>>> > be working fine.
>>> >
>>> > Regards,
>>> > Sai Pullabhotla
>>> >
>>>
>>
>>
>>
>> --
>> Cheers,
>> Guillaume Nodet
>> ------------------------
>> Blog: http://gnodet.blogspot.com/
>> ------------------------
>> Open Source SOA
>> http://fusesource.com
>>
>>
>>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> Open Source SOA
> http://fusesource.com
>
>
>


-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Re: [VOTE] Release SSHD 0.4.0 (2nd try)

Posted by Guillaume Nodet <gn...@gmail.com>.
Removing the second string works with FileZilla but fails with the sftp
command line utility.

On Wed, May 5, 2010 at 16:13, Guillaume Nodet <gn...@gmail.com> wrote:

> Yeah, that's what I'm trying.
> Let me try with removing the double name though.
>
>
> On Wed, May 5, 2010 at 15:50, Sai Pullabhotla <
> sai.pullabhotla@jmethods.com> wrote:
>
>> How about something like this:
>>
>>    protected void sendAbsoluteName(int id, File file) throws IOException {
>>        Buffer buffer = new Buffer();
>>        buffer.putByte((byte) SSH_FXP_NAME);
>>        buffer.putInt(id);
>>        buffer.putInt(1);
>>        String path = file.getPath();
>>        if(File.separatorChar != '/') {
>>            path = path.replace(File.separatorChar, '/');
>>        }
>>        if(path.charAt(0) != '/') {
>>            path = '/' + path;
>>        }
>>        buffer.putString(path);
>>        //buffer.putString(file.getPath());
>>        writeAttrs(buffer, file);
>>        send(buffer);
>>    }
>>
>> Regards,
>> Sai Pullabhotla
>>
>>
>>
>>
>>
>> On Wed, May 5, 2010 at 8:45 AM, Sai Pullabhotla
>> <sa...@jmethods.com> wrote:
>> > I removed the second call to place the path in the buffer and seems to
>> > be working fine.
>> >
>> > Regards,
>> > Sai Pullabhotla
>> >
>>
>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> Open Source SOA
> http://fusesource.com
>
>
>


-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Re: [VOTE] Release SSHD 0.4.0 (2nd try)

Posted by Guillaume Nodet <gn...@gmail.com>.
Yeah, that's what I'm trying.
Let me try with removing the double name though.

On Wed, May 5, 2010 at 15:50, Sai Pullabhotla
<sa...@jmethods.com>wrote:

> How about something like this:
>
>    protected void sendAbsoluteName(int id, File file) throws IOException {
>        Buffer buffer = new Buffer();
>        buffer.putByte((byte) SSH_FXP_NAME);
>        buffer.putInt(id);
>        buffer.putInt(1);
>        String path = file.getPath();
>        if(File.separatorChar != '/') {
>            path = path.replace(File.separatorChar, '/');
>        }
>        if(path.charAt(0) != '/') {
>            path = '/' + path;
>        }
>        buffer.putString(path);
>        //buffer.putString(file.getPath());
>        writeAttrs(buffer, file);
>        send(buffer);
>    }
>
> Regards,
> Sai Pullabhotla
>
>
>
>
>
> On Wed, May 5, 2010 at 8:45 AM, Sai Pullabhotla
> <sa...@jmethods.com> wrote:
> > I removed the second call to place the path in the buffer and seems to
> > be working fine.
> >
> > Regards,
> > Sai Pullabhotla
> >
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Re: [VOTE] Release SSHD 0.4.0 (2nd try)

Posted by Sai Pullabhotla <sa...@jmethods.com>.
How about something like this:

    protected void sendAbsoluteName(int id, File file) throws IOException {
        Buffer buffer = new Buffer();
        buffer.putByte((byte) SSH_FXP_NAME);
        buffer.putInt(id);
        buffer.putInt(1);
        String path = file.getPath();
        if(File.separatorChar != '/') {
            path = path.replace(File.separatorChar, '/');
        }
        if(path.charAt(0) != '/') {
            path = '/' + path;
        }
        buffer.putString(path);
        //buffer.putString(file.getPath());
        writeAttrs(buffer, file);
        send(buffer);
    }

Regards,
Sai Pullabhotla





On Wed, May 5, 2010 at 8:45 AM, Sai Pullabhotla
<sa...@jmethods.com> wrote:
> I removed the second call to place the path in the buffer and seems to
> be working fine.
>
> Regards,
> Sai Pullabhotla
>

Re: [VOTE] Release SSHD 0.4.0 (2nd try)

Posted by Sai Pullabhotla <sa...@jmethods.com>.
I removed the second call to place the path in the buffer and seems to
be working fine.

Regards,
Sai Pullabhotla

Re: [VOTE] Release SSHD 0.4.0 (2nd try)

Posted by Guillaume Nodet <gn...@gmail.com>.
On Wed, May 5, 2010 at 15:33, Sai Pullabhotla
<sa...@jmethods.com>wrote:

> I think I got it to work a little better by changing the code in
> SftpSubsystem.sendAbsoluteName to as follows:
>
> line 743:
>
>        buffer.putString("/" + file.getPath().replace('\\', '/'));
>
>
Let my try something like that.



> In order to make it work correctly on *NIX systems, we might need a
> check to determine whether or not we should prepend another "/" to the
> path. Also, the currently checked in code puts the path into the
> buffer twice. I'm not sure if that is needed.
>
>
It is needed, but no idea why.  You can try to remove it, but i had errors
when doing so. Any explanation is welcomed !


>
> Regards,
> Sai Pullabhotla
>
>
>
>
>
> On Wed, May 5, 2010 at 8:18 AM, Sai Pullabhotla
> <sa...@jmethods.com> wrote:
> > Okay, I got the fix and was able to see the directory listing using
> > FileZilla. However, a couple of issues:
> >
> > 1. Date/time on the files returned by the list are incorrect. Looks
> > like SSHD is always sending "Jan 01 00:00" for the date times.
> > 2. I could not download or upload a file. Below is the trace info from
> > FileZilla. Basically, when I try to download a file, FileZilla is
> > requesting the incorrect path for what so ever reason. The path it
> > requests is
> C:\Users\sai\opensource\sshd/C:\Users\sai\opensource\sshd\LICENSE.txt.
> > As you can see, it is prepending the working directory to the selected
> > file. I'm thinking it is due to the fact that we are sending "\" as
> > the path separator instead of "/".
> >
> > Status: Connecting to localhost:2222...
> > Trace:  Going to execute "C:\Program Files (x86)\FileZilla FTP
> Client\fzsftp.exe"
> > Response:       fzSftp started
> > Trace:  CSftpControlSocket::ConnectParseResponse(fzSftp started)
> > Trace:  CSftpControlSocket::SendNextCommand()
> > Trace:  CSftpControlSocket::ConnectSend()
> > Command:        keyfile "C:\Users\sai\temp\filezilla.ppk"
> > Trace:  CSftpControlSocket::ConnectParseResponse()
> > Trace:  CSftpControlSocket::SendNextCommand()
> > Trace:  CSftpControlSocket::ConnectSend()
> > Command:        open "psai@localhost" 2222
> > Trace:  Looking up host "localhost"
> > Trace:  Connecting to 127.0.0.1 port 2222
> > Trace:  Server version: SSH-2.0-${POM.ARTIFACTID}-${POM.VERSION}
> > Trace:  Using SSH protocol version 2
> > Trace:  We claim version: SSH-2.0-PuTTY_Local:_Oct_10_2009_18:54:23
> > Trace:  Using Diffie-Hellman with standard group "group14"
> > Trace:  Doing Diffie-Hellman key exchange with hash SHA-1
> > Command:        Trust new Hostkey: Once
> > Trace:  Host key fingerprint is:
> > Trace:  ssh-dss 1024 90:c8:10:01:dd:81:97:00:65:ec:c3:f9:d9:16:2d:b1
> > Trace:  Initialised AES-256 CBC client->server encryption
> > Trace:  Initialised HMAC-SHA1 client->server MAC algorithm
> > Trace:  Initialised AES-256 CBC server->client encryption
> > Trace:  Initialised HMAC-SHA1 server->client MAC algorithm
> > Trace:  Successfully loaded 1 key pair from file
> > Trace:  Offered public key from "C:\Users\sai\temp\filezilla.ppk"
> > Trace:  Offer of public key accepted, trying to authenticate using it.
> > Trace:  Access granted
> > Trace:  Opened channel for session
> > Trace:  Started a shell/command
> > Status: Connected to SAI
> > Trace:  CSftpControlSocket::ConnectParseResponse()
> > Trace:  CSftpControlSocket::ResetOperation(0)
> > Trace:  CControlSocket::ResetOperation(0)
> > Status: Retrieving directory listing...
> > Trace:  CSftpControlSocket::SendNextCommand()
> > Trace:  CSftpControlSocket::ChangeDirSend()
> > Command:        pwd
> > Response:       Current directory is: "C:\Users\sai\opensource\sshd"
> > Trace:  CSftpControlSocket::ResetOperation(0)
> > Trace:  CControlSocket::ResetOperation(0)
> > Trace:  CSftpControlSocket::ParseSubcommandResult(0)
> > Trace:  CSftpControlSocket::ListSubcommandResult()
> > Trace:  CSftpControlSocket::SendNextCommand()
> > Trace:  CSftpControlSocket::ListSend()
> > Command:        ls
> > Status: Listing directory C:\Users\sai\opensource\sshd
> > Listing:        -rw-rw-rw-   1 psai     psai          734 Jan 01 00:00
> .classpath
> > Listing:        -rw-rw-rw-   1 psai     psai           55 Jan 01 00:00
> .gitignore
> > Listing:        -rw-rw-rw-   1 psai     psai          558 Jan 01 00:00
> .project
> > Listing:        drw-rw-rw-   1 psai     psai            0 Jan 01 00:00
> .settings
> > Listing:        drw-rw-rw-   1 psai     psai         4096 Jan 01 00:00
> .svn
> > Listing:        drw-rw-rw-   1 psai     psai            0 Jan 01 00:00
> assembly
> > Listing:        drw-rw-rw-   1 psai     psai         4096 Jan 01 00:00
> classes
> > Listing:        -rw-rw-rw-   1 psai     psai          680 Jan 01 00:00
> key.pem
> > Listing:        -rw-rw-rw-   1 psai     psai        11359 Jan 01 00:00
> LICENSE.txt
> > Listing:        -rw-rw-rw-   1 psai     psai         3090 Jan 01 00:00
> NOTICE.txt
> > Listing:        -rw-rw-rw-   1 psai     psai         8786 Jan 01 00:00
> pom.xml
> > Listing:        drw-rw-rw-   1 psai     psai            0 Jan 01 00:00
> src
> > Listing:        drw-rw-rw-   1 psai     psai            0 Jan 01 00:00
> sshd-core
> > Listing:        drw-rw-rw-   1 psai     psai            0 Jan 01 00:00
> sshd-pam
> > Trace:  CSftpControlSocket::ListParseResponse()
> > Trace:  CSftpControlSocket::SendNextCommand()
> > Trace:  CSftpControlSocket::ListSend()
> > Status: Calculating timezone offset of server...
> > Command:        mtime ".classpath"
> > Error:  get attrs for C:\Users\sai\opensource\sshd\.classpath: mtime not
> provided
> > Trace:  CSftpControlSocket::ListParseResponse()
> > Trace:  CSftpControlSocket::ResetOperation(0)
> > Trace:  CControlSocket::ResetOperation(0)
> > Status: Directory listing successful
> > Status: Connecting to localhost:2222...
> > Trace:  Going to execute "C:\Program Files (x86)\FileZilla FTP
> Client\fzsftp.exe"
> > Response:       fzSftp started
> > Trace:  CSftpControlSocket::ConnectParseResponse(fzSftp started)
> > Trace:  CSftpControlSocket::SendNextCommand()
> > Trace:  CSftpControlSocket::ConnectSend()
> > Command:        keyfile "C:\Users\sai\temp\filezilla.ppk"
> > Trace:  CSftpControlSocket::ConnectParseResponse()
> > Trace:  CSftpControlSocket::SendNextCommand()
> > Trace:  CSftpControlSocket::ConnectSend()
> > Command:        open "psai@localhost" 2222
> > Trace:  Looking up host "localhost"
> > Trace:  Connecting to 127.0.0.1 port 2222
> > Trace:  Server version: SSH-2.0-${POM.ARTIFACTID}-${POM.VERSION}
> > Trace:  Using SSH protocol version 2
> > Trace:  We claim version: SSH-2.0-PuTTY_Local:_Oct_10_2009_18:54:23
> > Trace:  Using Diffie-Hellman with standard group "group14"
> > Trace:  Doing Diffie-Hellman key exchange with hash SHA-1
> > Command:        Trust new Hostkey: Once
> > Trace:  Host key fingerprint is:
> > Trace:  ssh-dss 1024 90:c8:10:01:dd:81:97:00:65:ec:c3:f9:d9:16:2d:b1
> > Trace:  Initialised AES-256 CBC client->server encryption
> > Trace:  Initialised HMAC-SHA1 client->server MAC algorithm
> > Trace:  Initialised AES-256 CBC server->client encryption
> > Trace:  Initialised HMAC-SHA1 server->client MAC algorithm
> > Trace:  Successfully loaded 1 key pair from file
> > Trace:  Offered public key from "C:\Users\sai\temp\filezilla.ppk"
> > Trace:  Offer of public key accepted, trying to authenticate using it.
> > Trace:  Access granted
> > Trace:  Opened channel for session
> > Trace:  Started a shell/command
> > Status: Connected to SAI
> > Trace:  CSftpControlSocket::ConnectParseResponse()
> > Trace:  CSftpControlSocket::ResetOperation(0)
> > Trace:  CControlSocket::ResetOperation(0)
> > Trace:  CSftpControlSocket::FileTransfer(...)
> > Status: Starting download of C:\Users\sai\opensource\sshd\LICENSE.txt
> > Trace:  CSftpControlSocket::SendNextCommand()
> > Trace:  CSftpControlSocket::ChangeDirSend()
> > Command:        cd "C:\Users\sai\opensource\sshd"
> > Error:  Directory
> > C:\Users\sai\opensource\sshd/C:\Users\sai\opensource\sshd: no such
> > file or directory
> > Trace:  CSftpControlSocket::ResetOperation(2)
> > Trace:  CControlSocket::ResetOperation(2)
> > Trace:  CSftpControlSocket::ParseSubcommandResult(2)
> > Trace:  CSftpControlSocket::FileTransferSubcommandResult()
> > Trace:  CSftpControlSocket::SendNextCommand()
> > Trace:  FileTransferSend()
> > Command:        mtime "C:\Users\sai\opensource\sshd\LICENSE.txt"
> > Error:  get attrs for
> > C:\Users\sai\opensource\sshd/C:\Users\sai\opensource\sshd\LICENSE.txt:
> > no such file or directory
> > Trace:  FileTransferParseResponse()
> > Trace:  CSftpControlSocket::SendNextCommand()
> > Trace:  FileTransferSend()
> > Command:        get "C:\Users\sai\opensource\sshd\LICENSE.txt"
> > "C:\users\sai\temp\LICENSE.txt"
> > Error:
>  C:\Users\sai\opensource\sshd/C:\Users\sai\opensource\sshd\LICENSE.txt:
> > open for read: failure
> > Trace:  FileTransferParseResponse()
> > Trace:  CSftpControlSocket::ResetOperation(2)
> > Trace:  CControlSocket::ResetOperation(2)
> >
> >
> > Regards,
> > Sai Pullabhotla
> >
> >
> >
> >
> >
> > On Wed, May 5, 2010 at 8:03 AM, Guillaume Nodet <gn...@gmail.com>
> wrote:
> >> Committed at rev 941273.  Could you give it a try asap please ?  I'll
> wait
> >> for your input before recutting the release.
> >>
> >> On Wed, May 5, 2010 at 15:02, Guillaume Nodet <gn...@gmail.com> wrote:
> >>
> >>> Argh, I committed to my git repo and forgot to push the change.
> >>>
> >>>
> >>> On Wed, May 5, 2010 at 14:53, Sai Pullabhotla <
> >>> sai.pullabhotla@jmethods.com> wrote:
> >>>
> >>>> Is this SFTP fix checked into trunk or 0.4 tag? I do not see any
> >>>> changes to the SVN.
> >>>>
> >>>> Regards,
> >>>> Sai Pullabhotla
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> On Wed, May 5, 2010 at 4:52 AM, Guillaume Nodet <gn...@gmail.com>
> wrote:
> >>>> > I've uploaded a RC for SSHD 0.4.0 at
> >>>> >
> https://repository.apache.org/content/repositories/orgapachemina-008/
> >>>> >
> >>>> > The release notes are available at
> >>>> >  https://cwiki.apache.org/SSHD/sshd-040.html
> >>>> >
> >>>> > Please review and vote.
> >>>> >
> >>>> > --
> >>>> > Cheers,
> >>>> > Guillaume Nodet
> >>>> > ------------------------
> >>>> > Blog: http://gnodet.blogspot.com/
> >>>> > ------------------------
> >>>> > Open Source SOA
> >>>> > http://fusesource.com
> >>>> >
> >>>>
> >>>
> >>>
> >>>
> >>> --
> >>> Cheers,
> >>> Guillaume Nodet
> >>> ------------------------
> >>> Blog: http://gnodet.blogspot.com/
> >>> ------------------------
> >>> Open Source SOA
> >>> http://fusesource.com
> >>>
> >>>
> >>>
> >>
> >>
> >> --
> >> Cheers,
> >> Guillaume Nodet
> >> ------------------------
> >> Blog: http://gnodet.blogspot.com/
> >> ------------------------
> >> Open Source SOA
> >> http://fusesource.com
> >>
> >
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Re: [VOTE] Release SSHD 0.4.0 (2nd try)

Posted by Sai Pullabhotla <sa...@jmethods.com>.
I think I got it to work a little better by changing the code in
SftpSubsystem.sendAbsoluteName to as follows:

line 743:

        buffer.putString("/" + file.getPath().replace('\\', '/'));

In order to make it work correctly on *NIX systems, we might need a
check to determine whether or not we should prepend another "/" to the
path. Also, the currently checked in code puts the path into the
buffer twice. I'm not sure if that is needed.


Regards,
Sai Pullabhotla





On Wed, May 5, 2010 at 8:18 AM, Sai Pullabhotla
<sa...@jmethods.com> wrote:
> Okay, I got the fix and was able to see the directory listing using
> FileZilla. However, a couple of issues:
>
> 1. Date/time on the files returned by the list are incorrect. Looks
> like SSHD is always sending "Jan 01 00:00" for the date times.
> 2. I could not download or upload a file. Below is the trace info from
> FileZilla. Basically, when I try to download a file, FileZilla is
> requesting the incorrect path for what so ever reason. The path it
> requests is C:\Users\sai\opensource\sshd/C:\Users\sai\opensource\sshd\LICENSE.txt.
> As you can see, it is prepending the working directory to the selected
> file. I'm thinking it is due to the fact that we are sending "\" as
> the path separator instead of "/".
>
> Status: Connecting to localhost:2222...
> Trace:  Going to execute "C:\Program Files (x86)\FileZilla FTP Client\fzsftp.exe"
> Response:       fzSftp started
> Trace:  CSftpControlSocket::ConnectParseResponse(fzSftp started)
> Trace:  CSftpControlSocket::SendNextCommand()
> Trace:  CSftpControlSocket::ConnectSend()
> Command:        keyfile "C:\Users\sai\temp\filezilla.ppk"
> Trace:  CSftpControlSocket::ConnectParseResponse()
> Trace:  CSftpControlSocket::SendNextCommand()
> Trace:  CSftpControlSocket::ConnectSend()
> Command:        open "psai@localhost" 2222
> Trace:  Looking up host "localhost"
> Trace:  Connecting to 127.0.0.1 port 2222
> Trace:  Server version: SSH-2.0-${POM.ARTIFACTID}-${POM.VERSION}
> Trace:  Using SSH protocol version 2
> Trace:  We claim version: SSH-2.0-PuTTY_Local:_Oct_10_2009_18:54:23
> Trace:  Using Diffie-Hellman with standard group "group14"
> Trace:  Doing Diffie-Hellman key exchange with hash SHA-1
> Command:        Trust new Hostkey: Once
> Trace:  Host key fingerprint is:
> Trace:  ssh-dss 1024 90:c8:10:01:dd:81:97:00:65:ec:c3:f9:d9:16:2d:b1
> Trace:  Initialised AES-256 CBC client->server encryption
> Trace:  Initialised HMAC-SHA1 client->server MAC algorithm
> Trace:  Initialised AES-256 CBC server->client encryption
> Trace:  Initialised HMAC-SHA1 server->client MAC algorithm
> Trace:  Successfully loaded 1 key pair from file
> Trace:  Offered public key from "C:\Users\sai\temp\filezilla.ppk"
> Trace:  Offer of public key accepted, trying to authenticate using it.
> Trace:  Access granted
> Trace:  Opened channel for session
> Trace:  Started a shell/command
> Status: Connected to SAI
> Trace:  CSftpControlSocket::ConnectParseResponse()
> Trace:  CSftpControlSocket::ResetOperation(0)
> Trace:  CControlSocket::ResetOperation(0)
> Status: Retrieving directory listing...
> Trace:  CSftpControlSocket::SendNextCommand()
> Trace:  CSftpControlSocket::ChangeDirSend()
> Command:        pwd
> Response:       Current directory is: "C:\Users\sai\opensource\sshd"
> Trace:  CSftpControlSocket::ResetOperation(0)
> Trace:  CControlSocket::ResetOperation(0)
> Trace:  CSftpControlSocket::ParseSubcommandResult(0)
> Trace:  CSftpControlSocket::ListSubcommandResult()
> Trace:  CSftpControlSocket::SendNextCommand()
> Trace:  CSftpControlSocket::ListSend()
> Command:        ls
> Status: Listing directory C:\Users\sai\opensource\sshd
> Listing:        -rw-rw-rw-   1 psai     psai          734 Jan 01 00:00 .classpath
> Listing:        -rw-rw-rw-   1 psai     psai           55 Jan 01 00:00 .gitignore
> Listing:        -rw-rw-rw-   1 psai     psai          558 Jan 01 00:00 .project
> Listing:        drw-rw-rw-   1 psai     psai            0 Jan 01 00:00 .settings
> Listing:        drw-rw-rw-   1 psai     psai         4096 Jan 01 00:00 .svn
> Listing:        drw-rw-rw-   1 psai     psai            0 Jan 01 00:00 assembly
> Listing:        drw-rw-rw-   1 psai     psai         4096 Jan 01 00:00 classes
> Listing:        -rw-rw-rw-   1 psai     psai          680 Jan 01 00:00 key.pem
> Listing:        -rw-rw-rw-   1 psai     psai        11359 Jan 01 00:00 LICENSE.txt
> Listing:        -rw-rw-rw-   1 psai     psai         3090 Jan 01 00:00 NOTICE.txt
> Listing:        -rw-rw-rw-   1 psai     psai         8786 Jan 01 00:00 pom.xml
> Listing:        drw-rw-rw-   1 psai     psai            0 Jan 01 00:00 src
> Listing:        drw-rw-rw-   1 psai     psai            0 Jan 01 00:00 sshd-core
> Listing:        drw-rw-rw-   1 psai     psai            0 Jan 01 00:00 sshd-pam
> Trace:  CSftpControlSocket::ListParseResponse()
> Trace:  CSftpControlSocket::SendNextCommand()
> Trace:  CSftpControlSocket::ListSend()
> Status: Calculating timezone offset of server...
> Command:        mtime ".classpath"
> Error:  get attrs for C:\Users\sai\opensource\sshd\.classpath: mtime not provided
> Trace:  CSftpControlSocket::ListParseResponse()
> Trace:  CSftpControlSocket::ResetOperation(0)
> Trace:  CControlSocket::ResetOperation(0)
> Status: Directory listing successful
> Status: Connecting to localhost:2222...
> Trace:  Going to execute "C:\Program Files (x86)\FileZilla FTP Client\fzsftp.exe"
> Response:       fzSftp started
> Trace:  CSftpControlSocket::ConnectParseResponse(fzSftp started)
> Trace:  CSftpControlSocket::SendNextCommand()
> Trace:  CSftpControlSocket::ConnectSend()
> Command:        keyfile "C:\Users\sai\temp\filezilla.ppk"
> Trace:  CSftpControlSocket::ConnectParseResponse()
> Trace:  CSftpControlSocket::SendNextCommand()
> Trace:  CSftpControlSocket::ConnectSend()
> Command:        open "psai@localhost" 2222
> Trace:  Looking up host "localhost"
> Trace:  Connecting to 127.0.0.1 port 2222
> Trace:  Server version: SSH-2.0-${POM.ARTIFACTID}-${POM.VERSION}
> Trace:  Using SSH protocol version 2
> Trace:  We claim version: SSH-2.0-PuTTY_Local:_Oct_10_2009_18:54:23
> Trace:  Using Diffie-Hellman with standard group "group14"
> Trace:  Doing Diffie-Hellman key exchange with hash SHA-1
> Command:        Trust new Hostkey: Once
> Trace:  Host key fingerprint is:
> Trace:  ssh-dss 1024 90:c8:10:01:dd:81:97:00:65:ec:c3:f9:d9:16:2d:b1
> Trace:  Initialised AES-256 CBC client->server encryption
> Trace:  Initialised HMAC-SHA1 client->server MAC algorithm
> Trace:  Initialised AES-256 CBC server->client encryption
> Trace:  Initialised HMAC-SHA1 server->client MAC algorithm
> Trace:  Successfully loaded 1 key pair from file
> Trace:  Offered public key from "C:\Users\sai\temp\filezilla.ppk"
> Trace:  Offer of public key accepted, trying to authenticate using it.
> Trace:  Access granted
> Trace:  Opened channel for session
> Trace:  Started a shell/command
> Status: Connected to SAI
> Trace:  CSftpControlSocket::ConnectParseResponse()
> Trace:  CSftpControlSocket::ResetOperation(0)
> Trace:  CControlSocket::ResetOperation(0)
> Trace:  CSftpControlSocket::FileTransfer(...)
> Status: Starting download of C:\Users\sai\opensource\sshd\LICENSE.txt
> Trace:  CSftpControlSocket::SendNextCommand()
> Trace:  CSftpControlSocket::ChangeDirSend()
> Command:        cd "C:\Users\sai\opensource\sshd"
> Error:  Directory
> C:\Users\sai\opensource\sshd/C:\Users\sai\opensource\sshd: no such
> file or directory
> Trace:  CSftpControlSocket::ResetOperation(2)
> Trace:  CControlSocket::ResetOperation(2)
> Trace:  CSftpControlSocket::ParseSubcommandResult(2)
> Trace:  CSftpControlSocket::FileTransferSubcommandResult()
> Trace:  CSftpControlSocket::SendNextCommand()
> Trace:  FileTransferSend()
> Command:        mtime "C:\Users\sai\opensource\sshd\LICENSE.txt"
> Error:  get attrs for
> C:\Users\sai\opensource\sshd/C:\Users\sai\opensource\sshd\LICENSE.txt:
> no such file or directory
> Trace:  FileTransferParseResponse()
> Trace:  CSftpControlSocket::SendNextCommand()
> Trace:  FileTransferSend()
> Command:        get "C:\Users\sai\opensource\sshd\LICENSE.txt"
> "C:\users\sai\temp\LICENSE.txt"
> Error:  C:\Users\sai\opensource\sshd/C:\Users\sai\opensource\sshd\LICENSE.txt:
> open for read: failure
> Trace:  FileTransferParseResponse()
> Trace:  CSftpControlSocket::ResetOperation(2)
> Trace:  CControlSocket::ResetOperation(2)
>
>
> Regards,
> Sai Pullabhotla
>
>
>
>
>
> On Wed, May 5, 2010 at 8:03 AM, Guillaume Nodet <gn...@gmail.com> wrote:
>> Committed at rev 941273.  Could you give it a try asap please ?  I'll wait
>> for your input before recutting the release.
>>
>> On Wed, May 5, 2010 at 15:02, Guillaume Nodet <gn...@gmail.com> wrote:
>>
>>> Argh, I committed to my git repo and forgot to push the change.
>>>
>>>
>>> On Wed, May 5, 2010 at 14:53, Sai Pullabhotla <
>>> sai.pullabhotla@jmethods.com> wrote:
>>>
>>>> Is this SFTP fix checked into trunk or 0.4 tag? I do not see any
>>>> changes to the SVN.
>>>>
>>>> Regards,
>>>> Sai Pullabhotla
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Wed, May 5, 2010 at 4:52 AM, Guillaume Nodet <gn...@gmail.com> wrote:
>>>> > I've uploaded a RC for SSHD 0.4.0 at
>>>> >  https://repository.apache.org/content/repositories/orgapachemina-008/
>>>> >
>>>> > The release notes are available at
>>>> >  https://cwiki.apache.org/SSHD/sshd-040.html
>>>> >
>>>> > Please review and vote.
>>>> >
>>>> > --
>>>> > Cheers,
>>>> > Guillaume Nodet
>>>> > ------------------------
>>>> > Blog: http://gnodet.blogspot.com/
>>>> > ------------------------
>>>> > Open Source SOA
>>>> > http://fusesource.com
>>>> >
>>>>
>>>
>>>
>>>
>>> --
>>> Cheers,
>>> Guillaume Nodet
>>> ------------------------
>>> Blog: http://gnodet.blogspot.com/
>>> ------------------------
>>> Open Source SOA
>>> http://fusesource.com
>>>
>>>
>>>
>>
>>
>> --
>> Cheers,
>> Guillaume Nodet
>> ------------------------
>> Blog: http://gnodet.blogspot.com/
>> ------------------------
>> Open Source SOA
>> http://fusesource.com
>>
>

Re: [VOTE] Release SSHD 0.4.0 (2nd try)

Posted by Sai Pullabhotla <sa...@jmethods.com>.
Okay, I got the fix and was able to see the directory listing using
FileZilla. However, a couple of issues:

1. Date/time on the files returned by the list are incorrect. Looks
like SSHD is always sending "Jan 01 00:00" for the date times.
2. I could not download or upload a file. Below is the trace info from
FileZilla. Basically, when I try to download a file, FileZilla is
requesting the incorrect path for what so ever reason. The path it
requests is C:\Users\sai\opensource\sshd/C:\Users\sai\opensource\sshd\LICENSE.txt.
As you can see, it is prepending the working directory to the selected
file. I'm thinking it is due to the fact that we are sending "\" as
the path separator instead of "/".

Status:	Connecting to localhost:2222...
Trace:	Going to execute "C:\Program Files (x86)\FileZilla FTP Client\fzsftp.exe"
Response:	fzSftp started
Trace:	CSftpControlSocket::ConnectParseResponse(fzSftp started)
Trace:	CSftpControlSocket::SendNextCommand()
Trace:	CSftpControlSocket::ConnectSend()
Command:	keyfile "C:\Users\sai\temp\filezilla.ppk"
Trace:	CSftpControlSocket::ConnectParseResponse()
Trace:	CSftpControlSocket::SendNextCommand()
Trace:	CSftpControlSocket::ConnectSend()
Command:	open "psai@localhost" 2222
Trace:	Looking up host "localhost"
Trace:	Connecting to 127.0.0.1 port 2222
Trace:	Server version: SSH-2.0-${POM.ARTIFACTID}-${POM.VERSION}
Trace:	Using SSH protocol version 2
Trace:	We claim version: SSH-2.0-PuTTY_Local:_Oct_10_2009_18:54:23
Trace:	Using Diffie-Hellman with standard group "group14"
Trace:	Doing Diffie-Hellman key exchange with hash SHA-1
Command:	Trust new Hostkey: Once
Trace:	Host key fingerprint is:
Trace:	ssh-dss 1024 90:c8:10:01:dd:81:97:00:65:ec:c3:f9:d9:16:2d:b1
Trace:	Initialised AES-256 CBC client->server encryption
Trace:	Initialised HMAC-SHA1 client->server MAC algorithm
Trace:	Initialised AES-256 CBC server->client encryption
Trace:	Initialised HMAC-SHA1 server->client MAC algorithm
Trace:	Successfully loaded 1 key pair from file
Trace:	Offered public key from "C:\Users\sai\temp\filezilla.ppk"
Trace:	Offer of public key accepted, trying to authenticate using it.
Trace:	Access granted
Trace:	Opened channel for session
Trace:	Started a shell/command
Status:	Connected to SAI
Trace:	CSftpControlSocket::ConnectParseResponse()
Trace:	CSftpControlSocket::ResetOperation(0)
Trace:	CControlSocket::ResetOperation(0)
Status:	Retrieving directory listing...
Trace:	CSftpControlSocket::SendNextCommand()
Trace:	CSftpControlSocket::ChangeDirSend()
Command:	pwd
Response:	Current directory is: "C:\Users\sai\opensource\sshd"
Trace:	CSftpControlSocket::ResetOperation(0)
Trace:	CControlSocket::ResetOperation(0)
Trace:	CSftpControlSocket::ParseSubcommandResult(0)
Trace:	CSftpControlSocket::ListSubcommandResult()
Trace:	CSftpControlSocket::SendNextCommand()
Trace:	CSftpControlSocket::ListSend()
Command:	ls
Status:	Listing directory C:\Users\sai\opensource\sshd
Listing:	-rw-rw-rw-   1 psai     psai          734 Jan 01 00:00 .classpath
Listing:	-rw-rw-rw-   1 psai     psai           55 Jan 01 00:00 .gitignore
Listing:	-rw-rw-rw-   1 psai     psai          558 Jan 01 00:00 .project
Listing:	drw-rw-rw-   1 psai     psai            0 Jan 01 00:00 .settings
Listing:	drw-rw-rw-   1 psai     psai         4096 Jan 01 00:00 .svn
Listing:	drw-rw-rw-   1 psai     psai            0 Jan 01 00:00 assembly
Listing:	drw-rw-rw-   1 psai     psai         4096 Jan 01 00:00 classes
Listing:	-rw-rw-rw-   1 psai     psai          680 Jan 01 00:00 key.pem
Listing:	-rw-rw-rw-   1 psai     psai        11359 Jan 01 00:00 LICENSE.txt
Listing:	-rw-rw-rw-   1 psai     psai         3090 Jan 01 00:00 NOTICE.txt
Listing:	-rw-rw-rw-   1 psai     psai         8786 Jan 01 00:00 pom.xml
Listing:	drw-rw-rw-   1 psai     psai            0 Jan 01 00:00 src
Listing:	drw-rw-rw-   1 psai     psai            0 Jan 01 00:00 sshd-core
Listing:	drw-rw-rw-   1 psai     psai            0 Jan 01 00:00 sshd-pam
Trace:	CSftpControlSocket::ListParseResponse()
Trace:	CSftpControlSocket::SendNextCommand()
Trace:	CSftpControlSocket::ListSend()
Status:	Calculating timezone offset of server...
Command:	mtime ".classpath"
Error:	get attrs for C:\Users\sai\opensource\sshd\.classpath: mtime not provided
Trace:	CSftpControlSocket::ListParseResponse()
Trace:	CSftpControlSocket::ResetOperation(0)
Trace:	CControlSocket::ResetOperation(0)
Status:	Directory listing successful
Status:	Connecting to localhost:2222...
Trace:	Going to execute "C:\Program Files (x86)\FileZilla FTP Client\fzsftp.exe"
Response:	fzSftp started
Trace:	CSftpControlSocket::ConnectParseResponse(fzSftp started)
Trace:	CSftpControlSocket::SendNextCommand()
Trace:	CSftpControlSocket::ConnectSend()
Command:	keyfile "C:\Users\sai\temp\filezilla.ppk"
Trace:	CSftpControlSocket::ConnectParseResponse()
Trace:	CSftpControlSocket::SendNextCommand()
Trace:	CSftpControlSocket::ConnectSend()
Command:	open "psai@localhost" 2222
Trace:	Looking up host "localhost"
Trace:	Connecting to 127.0.0.1 port 2222
Trace:	Server version: SSH-2.0-${POM.ARTIFACTID}-${POM.VERSION}
Trace:	Using SSH protocol version 2
Trace:	We claim version: SSH-2.0-PuTTY_Local:_Oct_10_2009_18:54:23
Trace:	Using Diffie-Hellman with standard group "group14"
Trace:	Doing Diffie-Hellman key exchange with hash SHA-1
Command:	Trust new Hostkey: Once
Trace:	Host key fingerprint is:
Trace:	ssh-dss 1024 90:c8:10:01:dd:81:97:00:65:ec:c3:f9:d9:16:2d:b1
Trace:	Initialised AES-256 CBC client->server encryption
Trace:	Initialised HMAC-SHA1 client->server MAC algorithm
Trace:	Initialised AES-256 CBC server->client encryption
Trace:	Initialised HMAC-SHA1 server->client MAC algorithm
Trace:	Successfully loaded 1 key pair from file
Trace:	Offered public key from "C:\Users\sai\temp\filezilla.ppk"
Trace:	Offer of public key accepted, trying to authenticate using it.
Trace:	Access granted
Trace:	Opened channel for session
Trace:	Started a shell/command
Status:	Connected to SAI
Trace:	CSftpControlSocket::ConnectParseResponse()
Trace:	CSftpControlSocket::ResetOperation(0)
Trace:	CControlSocket::ResetOperation(0)
Trace:	CSftpControlSocket::FileTransfer(...)
Status:	Starting download of C:\Users\sai\opensource\sshd\LICENSE.txt
Trace:	CSftpControlSocket::SendNextCommand()
Trace:	CSftpControlSocket::ChangeDirSend()
Command:	cd "C:\Users\sai\opensource\sshd"
Error:	Directory
C:\Users\sai\opensource\sshd/C:\Users\sai\opensource\sshd: no such
file or directory
Trace:	CSftpControlSocket::ResetOperation(2)
Trace:	CControlSocket::ResetOperation(2)
Trace:	CSftpControlSocket::ParseSubcommandResult(2)
Trace:	CSftpControlSocket::FileTransferSubcommandResult()
Trace:	CSftpControlSocket::SendNextCommand()
Trace:	FileTransferSend()
Command:	mtime "C:\Users\sai\opensource\sshd\LICENSE.txt"
Error:	get attrs for
C:\Users\sai\opensource\sshd/C:\Users\sai\opensource\sshd\LICENSE.txt:
no such file or directory
Trace:	FileTransferParseResponse()
Trace:	CSftpControlSocket::SendNextCommand()
Trace:	FileTransferSend()
Command:	get "C:\Users\sai\opensource\sshd\LICENSE.txt"
"C:\users\sai\temp\LICENSE.txt"
Error:	C:\Users\sai\opensource\sshd/C:\Users\sai\opensource\sshd\LICENSE.txt:
open for read: failure
Trace:	FileTransferParseResponse()
Trace:	CSftpControlSocket::ResetOperation(2)
Trace:	CControlSocket::ResetOperation(2)


Regards,
Sai Pullabhotla





On Wed, May 5, 2010 at 8:03 AM, Guillaume Nodet <gn...@gmail.com> wrote:
> Committed at rev 941273.  Could you give it a try asap please ?  I'll wait
> for your input before recutting the release.
>
> On Wed, May 5, 2010 at 15:02, Guillaume Nodet <gn...@gmail.com> wrote:
>
>> Argh, I committed to my git repo and forgot to push the change.
>>
>>
>> On Wed, May 5, 2010 at 14:53, Sai Pullabhotla <
>> sai.pullabhotla@jmethods.com> wrote:
>>
>>> Is this SFTP fix checked into trunk or 0.4 tag? I do not see any
>>> changes to the SVN.
>>>
>>> Regards,
>>> Sai Pullabhotla
>>>
>>>
>>>
>>>
>>>
>>> On Wed, May 5, 2010 at 4:52 AM, Guillaume Nodet <gn...@gmail.com> wrote:
>>> > I've uploaded a RC for SSHD 0.4.0 at
>>> >  https://repository.apache.org/content/repositories/orgapachemina-008/
>>> >
>>> > The release notes are available at
>>> >  https://cwiki.apache.org/SSHD/sshd-040.html
>>> >
>>> > Please review and vote.
>>> >
>>> > --
>>> > Cheers,
>>> > Guillaume Nodet
>>> > ------------------------
>>> > Blog: http://gnodet.blogspot.com/
>>> > ------------------------
>>> > Open Source SOA
>>> > http://fusesource.com
>>> >
>>>
>>
>>
>>
>> --
>> Cheers,
>> Guillaume Nodet
>> ------------------------
>> Blog: http://gnodet.blogspot.com/
>> ------------------------
>> Open Source SOA
>> http://fusesource.com
>>
>>
>>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> Open Source SOA
> http://fusesource.com
>

Re: [VOTE] Release SSHD 0.4.0 (2nd try)

Posted by Guillaume Nodet <gn...@gmail.com>.
Committed at rev 941273.  Could you give it a try asap please ?  I'll wait
for your input before recutting the release.

On Wed, May 5, 2010 at 15:02, Guillaume Nodet <gn...@gmail.com> wrote:

> Argh, I committed to my git repo and forgot to push the change.
>
>
> On Wed, May 5, 2010 at 14:53, Sai Pullabhotla <
> sai.pullabhotla@jmethods.com> wrote:
>
>> Is this SFTP fix checked into trunk or 0.4 tag? I do not see any
>> changes to the SVN.
>>
>> Regards,
>> Sai Pullabhotla
>>
>>
>>
>>
>>
>> On Wed, May 5, 2010 at 4:52 AM, Guillaume Nodet <gn...@gmail.com> wrote:
>> > I've uploaded a RC for SSHD 0.4.0 at
>> >  https://repository.apache.org/content/repositories/orgapachemina-008/
>> >
>> > The release notes are available at
>> >  https://cwiki.apache.org/SSHD/sshd-040.html
>> >
>> > Please review and vote.
>> >
>> > --
>> > Cheers,
>> > Guillaume Nodet
>> > ------------------------
>> > Blog: http://gnodet.blogspot.com/
>> > ------------------------
>> > Open Source SOA
>> > http://fusesource.com
>> >
>>
>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> Open Source SOA
> http://fusesource.com
>
>
>


-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Re: [VOTE] Release SSHD 0.4.0 (2nd try)

Posted by Guillaume Nodet <gn...@gmail.com>.
Argh, I committed to my git repo and forgot to push the change.

On Wed, May 5, 2010 at 14:53, Sai Pullabhotla
<sa...@jmethods.com>wrote:

> Is this SFTP fix checked into trunk or 0.4 tag? I do not see any
> changes to the SVN.
>
> Regards,
> Sai Pullabhotla
>
>
>
>
>
> On Wed, May 5, 2010 at 4:52 AM, Guillaume Nodet <gn...@gmail.com> wrote:
> > I've uploaded a RC for SSHD 0.4.0 at
> >  https://repository.apache.org/content/repositories/orgapachemina-008/
> >
> > The release notes are available at
> >  https://cwiki.apache.org/SSHD/sshd-040.html
> >
> > Please review and vote.
> >
> > --
> > Cheers,
> > Guillaume Nodet
> > ------------------------
> > Blog: http://gnodet.blogspot.com/
> > ------------------------
> > Open Source SOA
> > http://fusesource.com
> >
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Re: [VOTE] Release SSHD 0.4.0 (2nd try)

Posted by Sai Pullabhotla <sa...@jmethods.com>.
Is this SFTP fix checked into trunk or 0.4 tag? I do not see any
changes to the SVN.

Regards,
Sai Pullabhotla





On Wed, May 5, 2010 at 4:52 AM, Guillaume Nodet <gn...@gmail.com> wrote:
> I've uploaded a RC for SSHD 0.4.0 at
>  https://repository.apache.org/content/repositories/orgapachemina-008/
>
> The release notes are available at
>  https://cwiki.apache.org/SSHD/sshd-040.html
>
> Please review and vote.
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> Open Source SOA
> http://fusesource.com
>