RE: ssh works, but sftp doesn't

This is a discussion on RE: ssh works, but sftp doesn't within the OpenSSH Development forums, part of the Networking and Network Related category; On Fri, 9 May 2008, kannappan wrote: > Hi Damien, > > Yeap. I am able to execute that command(...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 4 Days Ago
Damien Miller
 
Posts: n/a
Default 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/li...enssh-unix-dev
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:57 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0