[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openssh-unix-dev
Subject:    RE: ssh works, but sftp doesn't
From:       "kannappan" <kannappan () tesbv ! com>
Date:       2008-05-10 7:29:33
Message-ID: 001601c8b26d$eda4a970$8200140a () Kanslaptop
[Download RAW message or body]


Hello Damien,

It worked with the openssh-5.0p1, with "internal-sftp" in sshd_config.

Thanks for the support.

Kans.

-----Original Message-----
From: Damien Miller [mailto:djm@mindrot.org] 
Sent: Friday, May 09, 2008 7:43 PM
To: kannappan
Cc: openssh-unix-dev@mindrot.org
Subject: RE: ssh works, but sftp doesn't

On Fri, 9 May 2008, kannappan wrote:

> Hi Damien,
> 
> Yeap. I am able to execute that command(sftp -P /usr/sbin/sftp-server
> 10.20.0.183) for any users.

Sorry, I don't have any idea what is going wrong. Some more things
for you to try:

1. Run sftp server directly from a ssh client, what happends?
   ssh yourhost /usr/sbin/sftp-server

2. Change the SubSystem declaration in the server to point to a 
   different program instead of /usr/sbin/sftp-server and repeat
   test #1 - does this work?

3. Rebuild OpenSSH from pristine sources (making sure you are using the
   latest version - 5.0). Does this help?

4. Rebuild sftp-server and insert a sleep() call at the start so you
   can attach a debugger to it. 

5. Try the new sshd_config "internal-sftp" subsystem (in openssh-5.0).

-d


_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic